Hello Rennie deGraaf,

> I'm running Gentoo x86/2006.1 inside a User-Mode Linux disk image,
> created according to the instructions at
> http://gentoo-wiki.com/HOWTO_User_Mode_Linux, with kernel 2.6.20.7 from
> kernel.org.  The first time I booted my UML system, networking worked
> properly.  The next time, net.eth0 failed to start.  Further
> investigation revealed that /sys/class/net/eth0 didn't exist (despite
> entries in dmesg indicating that it was being created).
> However, /sys/class/net/eth1 *did* exist, despite me not having
> specified a configuration for eth1 on the UML command line.  I was able
> to successfully configure eth1 and communicate with other hosts through
> it.

I suspect that UML is assigning a different MAC address to your virtual
network interface each time it starts up.
/etc/udev/rules.d/70-persistent-net.rules ensures that each interface gets the 
same address on each boot, so you either need to ensure that UML uses the same 
MAC each time, or remove this file in /etc/conf.d/local.stop.


-- 
Neil Bothwick

Do PAL taglines take up two scanlines?

Attachment: signature.asc
Description: PGP signature

Reply via email to