Gentoo Archives: gentoo-dev

From: Tobias Klausmann <klausman@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] call for testers: udev predictable network interface names
Date: Wed, 16 Jan 2013 15:19:21
Message-Id: 20130116151914.GA90907@kaini.schwarzvogel.de
In Reply to: Re: [gentoo-dev] call for testers: udev predictable network interface names by Greg KH
1 Hi!
2
3 On Tue, 15 Jan 2013, Greg KH wrote:
4 > So anyone who relies on network names right now to be deterministic, and
5 > you have more than one network device in your system, should seriously
6 > reconsider how they are naming their devices, as it will not work if you
7 > only rely on the kernel.
8 >
9 > You might have gotten "lucky" for the past 5 years, but you never know
10 > what could happen if you reboot today. Seriously, I've seen it happen
11 > all the time.
12
13 It has been rather nifty that if I walk up to a random machine
14 with exactly one NIC (that I've been asked to examine/fix), I
15 _know_ that there will be eth0 and only that.
16
17 OTOH, maybe it's a good idea to make admins do "ip link sh" and
18 "ip addr sh" every time they examine a new computer -- it goes a
19 long way to root out wrong assumptions in that field.
20
21 Regards,
22 Tobias
23
24 PS: Do not use ifconfig. Ever. Except if there's no iproute. And
25 then you should only use ifconfig to enable downloading of
26 iproute :)

Replies