LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2017, 07:56 PM   #1
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Rep: Reputation: 0
Trying To Use Multiple Bridged Networks With KVM


I've got 2 - large machines and I plan on reducing my physical footprint from 12 to 4 by using KVM. I've got a total of 6 wired ethernet ports on each large machine being routed through multiple switches and routers. What I did was:
1. Take eth4 and eth5 away and define br0 / eth4 and br1 / eth5.
2. Odd number VMs are defined to br0 (odd = sys01vm1, 3, 5, etc)
3. Even number VMs are defined to br1 (even = sys01vm2, 4, 6, etc)
4. I wrote a short script where I supply the VM name, RAM, CPU, bridge, etc

All works great as long as I use br0. But I cannot get br1 to work regardless of what I try. And when I attempt to change br1 to br0 using VMM that doesn't work either.

Everything is running CentOS6.9 64-bit

I've included the main machine definitions in the attached network_definition.txt file.
Attached Files
File Type: txt network_definition.txt (1.4 KB, 15 views)

Last edited by etpoole60; 05-21-2017 at 07:57 PM.
 
Old 05-23-2017, 04:25 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,890

Rep: Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615Reputation: 3615
I think you are doing something like this? https://access.redhat.com/documentat...rk-bridge.html
 
Old 05-24-2017, 11:27 AM   #3
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
OK, Let me see if I understand what's being said:
1. Forget trying to make both br0 and br1 work, just bond eth4 and eth5.
2. Make all of the virtual machines use br0.
3. Problem solved because I now have the throughput of 2 1gig ethernet connections.

OK, one thing I didn't mention because I just referenced the host machine is this:
One of the virtual machines needs 2 IP addresses for separate web sites using JBoss. Can this be done buy defining this in the virt-install parameter:
--network=bridge=br0 --network=bridge=br0

TIA
Gene
 
Old 06-04-2017, 01:33 AM   #4
etpoole60
Member
 
Registered: Jan 2008
Posts: 111

Original Poster
Rep: Reputation: 0
My problem has been solved!

OK, I googled and found a excerpt from a Red Hat document concerning bridge networks.
Everything is working just fine I followed their instructions exactly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM Multiple Networks (Bridged and Isolated) for home project fusion1275 Linux - Virtualization and Cloud 1 05-03-2017 05:18 PM
Bridged Networks under Windows being used in Linux wagscat123 Linux Mint 2 03-16-2015 11:21 PM
[SOLVED] Centos 6 and KVM - how to setup bridged networking in KVM in a -Class B- environment? rylan76 Linux - Virtualization and Cloud 7 11-07-2012 07:46 AM
CentOS 6.3 How to assign IP to host which has 3 bridged networks. hondaman Linux - Virtualization and Cloud 1 10-13-2012 11:09 AM
Bridged networks in VirtualBox only works one way. enine Linux - Virtualization and Cloud 10 08-05-2010 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration