Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Network device name changes every reboot
Date: Sun, 15 Apr 2007 09:47:14
Message-Id: 20070415103902.17b4cfdb@krikkit.digimed.co.uk
In Reply to: [gentoo-user] Network device name changes every reboot by Rennie deGraaf
1 Hello Rennie deGraaf,
2
3 > I'm running Gentoo x86/2006.1 inside a User-Mode Linux disk image,
4 > created according to the instructions at
5 > http://gentoo-wiki.com/HOWTO_User_Mode_Linux, with kernel 2.6.20.7 from
6 > kernel.org. The first time I booted my UML system, networking worked
7 > properly. The next time, net.eth0 failed to start. Further
8 > investigation revealed that /sys/class/net/eth0 didn't exist (despite
9 > entries in dmesg indicating that it was being created).
10 > However, /sys/class/net/eth1 *did* exist, despite me not having
11 > specified a configuration for eth1 on the UML command line. I was able
12 > to successfully configure eth1 and communicate with other hosts through
13 > it.
14
15 I suspect that UML is assigning a different MAC address to your virtual
16 network interface each time it starts up.
17 /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.
18
19
20 --
21 Neil Bothwick
22
23 Do PAL taglines take up two scanlines?

Attachments

File name MIME type
signature.asc application/pgp-signature