F18: unpredictable 'Predictable Network Interface Names'?

Frantisek Hanzlik franta at hanzlici.cz
Mon Feb 25 13:58:17 UTC 2013


Hello, know someone how work in F18 network interface naming? Or when
is there any docs for this?

In this my case, I want MAC-based interfaces naming.
I found these two documents:
https://fedoraproject.org/wiki/Features/SystemdPredictableNetworkInterfaceNames
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames

but it seems as first isn't too detailed and say about F19, and if
I did (according to second) udev rules, then nothing happens, as if
they aren't there. My rules:

$ cat /etc/udev/rules.d/70-moje-net.rules
# Bus 01:00.0 - PCI device 0x1969:0x1048 Atheros Attansic L1; atl1:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:8c:93:b5:8d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# External PCI device 0x8086:0x10d3 Intel CT Desktop Adapter w. 82574L; e1000e:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:69:5f:74", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# External PCI device 0x1186:0x1300 D-Link System Inc DFE-528TX w. RTL8139; 8139too
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:11:63:96:35", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

These rules works in F17 and earlier versions.




More information about the users mailing list