[Bug 616064] Re: Broken networking in kvm guests

Serge Hallyn 616064 at bugs.launchpad.net
Mon Aug 30 19:04:35 BST 2010


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

Ok, then I'll have to re-test on a machine where I'm not firewalled.
Will post the results as soon as I have a chance to set such a machine
up.


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

I'm nto sure what you mean by 'switch networking times' - but I assume
you are talking about the guest's ethN?  If so, libvirt is probably
assigning it new MAC addresses, and udev in the guest is trying to be
smart and helpful.  Edit

        /etc/udev/rules.d/70-persistent-net.rules

and put the latest mac address in place of the one for eth0, and delete
the eth1..ethN entries.

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