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: Nils Kassube
Date: Tue, 29 Jan 2008 17:18:23 +0100
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?

My /etc/udev/rules.d/70-persistent-net.rules looks like this:

# PCI device 0x10ec:0x8029 (ne2k-pci)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:20:18:2e:9f:f1", 
NAME="eth1"

# PCI device 0x14e4:0x167b (tg3)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:30:05:fe:b9:b1", 
NAME="eth0"


Nils

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