udev/network question

František Hanzlík franta at hanzlici.cz
Mon Sep 16 20:35:49 UTC 2013


Gary Artim wrote:
> 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!

When You are on F18/F19, it is because systemd/udev developers decided
to not support ethN devices.
When You want net devices named according to their MAC addresses, then
You must choose other names for interfaces (e.g. "netX" or
"Připojení k místní síti číslo X" etc. ).
I beg to differ with this decision too.











More information about the users mailing list