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


  Search this Thread
Old 02-05-2013, 09:59 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 28

Rep: Reputation: 0
one more bridge for another Virtual Machine

IBM x 3850 X5 server

RHEL 6 64 bit Host

Rhel 4.8 Guest

both OS running smoothly,

i configured

ifcfg-eth1 and
ifcfg-br0 files
in host OS

Now can i add another Virtual Machine,by adding another bridge but i have only two NIC.

can i have sample scripts for ifcfg-eth1,ifcfg-br1,
If possible please guide me guys.

Old 02-06-2013, 09:24 AM   #2
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 304

Rep: Reputation: 50
You should be able to use that same bridge for your other virtual machines. I have a host running three virtual machines and only one bridge. I am using KVM for virtualization, but the same should apply in most instances.
Old 02-06-2013, 11:44 AM   #3
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,289

Rep: Reputation: 97
Think of a bridge as it's own interface. A NIC could be a member of several bridges. However, if you can simplify things and use the same bridge you all ready set up. You can add multiple machines to the same as grim stated.
Old 02-06-2013, 02:00 PM   #4
LQ Newbie
Registered: Mar 2010
Posts: 28

Original Poster
Rep: Reputation: 0
Thankyou somuch for your response,

How to configure same bridge for two virtual machine?


sample script (ifcfg-eth0,eth1,bro) for one bridge for two VMs

Old 02-06-2013, 08:44 PM   #5
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 304

Rep: Reputation: 50
That would depend on what virtualization method you are using and how you are setting up your vms. Here is an example of something that you might use to set them up, but these items would depend on your environment.

virt-install \
       --name kvm2 \
       --vcpus 2 \
       --ram 1000 \
       --disk path=/dev/mapper/VolGroup00-LogVol03  \
       --network bridge:br0 \
       --arch i686 \
       -l nfs://

Last edited by grim76; 02-06-2013 at 08:51 PM. Reason: Added code block with example


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
how to know the remote machine is Virtual machine or physical machine pantdk Linux - Server 19 10-16-2014 02:48 PM
bridge two NIC's in virtual OS with NIC's in physical machine m4rtin Linux - Networking 0 01-24-2012 06:58 PM
router - win machine - vmware workstation - solusvm - virtual machine vmicovic Linux - Networking 2 05-01-2011 06:22 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 02:04 PM
bridge doesn't work on fedora virtual machine Yuri1312 Linux - Networking 3 11-21-2005 06:41 AM

All times are GMT -5. The time now is 08:39 PM.

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