[Bug 616064] Re: Broken networking in kvm guests

Brian Fallik 616064 at bugs.launchpad.net
Mon Aug 30 14:39:44 BST 2010


Serge,

I switched networking back to NAT and repeated the svn co to verify the
problem still exists.  It does.  Then I tried the wget operation 5 times
and all of them succeeded.

I also verified that we're using the same default.xml configuration.  They're almost identical except for one interesting (maybe related?) observation.   On my host, /etc/libvirt/qemu/networks/default contains:
  <forward/>
but your example shows:
  <forward mode="nat"/>
However, if I run "virsh net-dumpxml default >default.xml" and view the output file, I also see:
  <forward mode="nat"/>
It may just be that, since
  http://libvirt.org/formatnetwork.html
describes nat mode as the default, I suspect dumpxml outputs it but it isn't actually necessary in the xml.

Side question:  every time I switch networking times, the guest bumps
ethernet device number (eth0, eth1, ...).  This makes it annoying to
reset networking to switch static/dhcp on the next reboot.  Is there a
method to ensure that the guest always uses eth0?

brian

-- 
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