[Bug 616064] Re: Broken networking in kvm guests
Serge Hallyn
616064 at bugs.launchpad.net
Wed Aug 25 19:57:40 BST 2010
I failed to reproduce this. Here is how I tried. I have a
10.04.1 lucid host. My /etc/network/interfaces looks like:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
I started two 10.04.1 lucid guests, with the following command lines:
kvm -hda m1.img -net nic,macaddr=52:54:8b:3d:1a:82,model=virtio -net tap,ifname=tap1,script=no,downscript=no -vnc :1
kvm -hda m2.img -net nic,macaddr=52:54:8b:3d:1a:83,model=virtio -net tap,ifname=tap2,script=no,downscript=no -vnc :2
Then, on the host, I added the tap devices to br0:
/sbin/ifconfig tap1 0.0.0.0 up
brctl addif br0 tap1
/sbin/ifconfig tap2 0.0.0.0 up
brctl addif br0 tap2
and ran 'dhclient eth0' on each guest. Then on each guest I did:
apt-get install subversion
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
It succeeded on both. My impression from the report is that this should
fail very quickly. If I should keep trying in a loop please let me know.
I wonder whether vlan tagging (which you are doing) is involved in the
problem...
--
Broken networking in kvm guests
https://bugs.launchpad.net/bugs/616064
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list