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: Tue, 29 Jan 2008 12:32:32 -0400
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


-- 
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>