ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: how do I lock physical NIC's to static device names?

Subject: Re: how do I lock physical NIC's to static device names?
From: Derek Broughton
Date: Wed, 30 Jan 2008 10:16:50 -0400
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


-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

<Prev in Thread] Current Thread [Next in Thread>