udev/network question

Gary Artim gartim at gmail.com
Mon Sep 16 20:16:03 UTC 2013


I have 6 nics that I'd like assigned like:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:3c", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:3d", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:54", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:5c", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth3"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:04", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth4"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="xx:xx:xx:xx:xx:05", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth5"

I'm only using eth0,4, 5, but the kernel assigns the others, but keeps
assigning them in different order, like it doesn't see the udev
directives. I dont
have installed biosdevname.

I have to nurse the reboots of this server, usually ifconfig eth3
xxx.xxx.xxx.xxx netmask 255.255.255.0 up since what happens is
nic-addr *:04 get gets
assigned to eth3 and  *:05 gets assigned the eth4 (then reassigned by
udev to eth5). What a mess. I did read the prior post, but they dont
seem to fit
my issues, since I dont have biosudevname installed.

Any help greatly appreciated!


More information about the users mailing list