how do I lock physical NIC's to static device names?
Derek Broughton
news at pointerstop.ca
Tue Jan 29 16:32:32 UTC 2008
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!
--
derek
More information about the ubuntu-users
mailing list