[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] Ubuntu Gutsy guest network broken
From:       Jeff Dike <jdike () addtoit ! com>
Date:       2007-10-02 2:36:51
Message-ID: 20071002023651.GA12395 () c2 ! user-mode-linux ! org
[Download RAW message or body]

On Mon, Oct 01, 2007 at 05:38:01PM -0400, Jonas Meyer wrote:
> I pinned this behavior down to SOMETHING creating a new entry
> in /etc/udev/rules.d/70-persistent-net.rules of the form:
> 
> # net device (uml-netdev)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="f2:7a:f8:d4:1a:5a",
> NAME="eth0"
> 
> So it creates the above entry the first time and the network works.  The
> second time I boot, it adds this to the end of the file:
> 
> # net device (uml-netdev)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="92:11:3e:5f:c9:8c",
> NAME="eth1"

This is userspace trying to be smart.  It's assuring that a given
interface (as decided by MAC) always gets the same name.  However,
when MACs are assigned randomly every boot, this doesn't work so well.

You can either disable this behavior or provide a MAC on the UML
command line.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic