LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-23-2012, 04:09 PM   #1
DarkShade9
LQ Newbie
 
Registered: Dec 2006
Distribution: Still deciding
Posts: 16

Rep: Reputation: 0
Bridged networking does not work with virtualization


Hello all, this is a networking/virtualization issue, and I'm tossing it here in the networking subforum but if it needs moved, please move it. This is in regards to CentOS 6

I have a machine with several network bridges that are connected to bonded ports. An example:

eth1 and eth2 are a part of bond0, which is bridged to br0
eth3 and eth4 are a part of bond1, which is bridged to br1
eth5 and eth6 are a part of bond2, but is a trunked connection that services VLANs 50 60 and 70, so there are three bonds (bond2.50, bond2.60 and bond2.70), which is bridged to br2.50, br2.60 and br2.70 respectively

This network works just fine on the physical host. Our management network is on the 50 VLAN, and is serviced through bond2.50/br2.50.

When I create a new KVM virtual guest, I set this as its bridged interface to install over the network (using kickstart) Once it boots into the kernel, it attempts to get the kickstart file, which fails every time. While this is going on, I am pinging the IP address I have set in the -x arguments of the virt-install command, and the pings are coming through fine. The interesting thing is when I tell the installer to try to get the kickstart file again, the pings suddenly stop, as if the interface goes down, the kickstart retrieval fails, and the pings begin again.

Is there some sort of delay or something I am not aware of, or is the trunked interface interfering with connections to the new virtual machine?

Here's the virt-install command:

Code:
virt-install \
--name kvmtest \
--ram 8196 \
--vcpus 2 \
--disk path=/dev/mapper/disk01,size=10 \
--network bridge:br2.50 \
--os-type=linux --os-variant=rhel6 \
-l http://10.0.50.150/CentOS/6/os/x86_64 \
--noreboot --noautoconsole --nographics \
-x "ks=http://10.0.50.150/path/to/kickstart/kickstartfile.cfg \
ksdevice=eth0 ip=10.0.50.216 \
netmask 255.255.255.0 dns=10.0.50.80 gateway=10.0.50.1 \
console=tty0 console=ttyS0,115200n8"

Last edited by DarkShade9; 04-23-2012 at 04:10 PM.
 
  


Reply



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
Bridged networking on openSuSE 11.4 with Xen ... sankeny SUSE / openSUSE 0 08-20-2011 07:22 PM
very slow downloads from VM guests when using bridged networking mrtwice Linux - Networking 4 12-21-2009 11:17 AM
VirtualBox-2.2 - bridged networking on Slackware-12.2 botnet Linux - Software 10 05-02-2009 01:56 AM
Bridged networking intermittently drops network connection besson3c Linux - Networking 0 09-17-2008 07:31 PM
Bridged networking on Guest VISTA fails 1kyle General 1 02-25-2007 06:45 AM

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

All times are GMT -5. The time now is 06:39 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