[Bug 616064] Re: Broken networking in kvm guests

Brian Fallik 616064 at bugs.launchpad.net
Mon Aug 30 19:17:07 BST 2010


On Mon, Aug 30, 2010 at 2:04 PM, Serge Hallyn <616064 at bugs.launchpad.net> wrote:
>> 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.

Yes, I meant "every time I switch the networking" the guests ethN
keeps increasing.  I'll take a look at
/etc/udev/rules.d/70-persistent-net.rules.

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