Fedora 16 killed my eth0 ?
Reindl Harald
h.reindl at thelounge.net
Thu Apr 5 19:38:24 UTC 2012
Am 05.04.2012 21:10, schrieb Bill Davidsen:
> Andrew Haley wrote:
>> On 04/04/2012 06:47 AM, Zoltan Szecsei wrote:
>>> Well, perhaps someone should also think about impact of name-changing.
>>> Quite frankly, what's in a name, so why change it?
>>
>> It's because in the old scheme when a machine had several ports the
>> mapping between the physical hardware and the dev nodes was not fixed:
>> the kernel would just assign names as it found interfaces. This
>> caused a fair bit of inconvenience.
the mapping WAS fixed since a really long time
[root at backup-arrakis:~]$ cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bd:00:11", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
after changing the MAC-address of a vritual machines NIC or add
a new one you got a line there and could EASY change the devname
now the udev-config is not longer refreshed and you have to search
for the MAC and write the whole entry per hand to get your eth0 back
even on a newly installed machine
this is NOT how improvement looks
if i write iptables scripts i use eth0/et1 for many rules and it
is not helpful if these names are changing randomly be replace
hardware
hopefully the next "smart guy" will not kill /etc/udev/rules.d/70-persistent-net.rules
at all with the mantra "having solution, searching for problem"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120405/74661ebc/attachment.sig>
More information about the users
mailing list