how do I lock physical NIC's to static device names?
Derek Broughton
news at pointerstop.ca
Wed Jan 30 14:16:50 UTC 2008
David Vincent wrote:
> Derek Broughton wrote:
>> stan wrote:
>>
>>> I poked around a bit in /etc/udev and /lib/udev, and frankly I am
>>> confused. I want to absolutely lock down a mapping between MAC addresses
>>> and device names on UBUNTU 7.10 installations. can some kind soul point
>>> me to how to do this?
>>>
>>
>> Create a file /etc/iftab with the mapping you want - like:
>> eth0 mac 00:00:00:1a:73:5b arp 1
>> eth1 mac 00:1b:24:4b:5c:ff arp 1
>>
>> Then run /usr/lib/udev/migrate-iftab.pl (which is a standard part of
>> udev)
>>
>> I can't believe somebody went to the trouble of replacing a perfectly
>> simple config file with a really hard to maintain udev rule!
>
> /etc/iftab has been replaced by /etc/udev/rules.d/70-persistent-net.rules
Why do you think I told him to run the migrate script?
> just edit /etc/udev/rules.d/70-persistent-net.rules
As udev rules go, it's easy enough, but udev was NEVER intended for user
maintenance, and removing iftab is a ridiculous step backwards.
--
derek
More information about the ubuntu-users
mailing list