http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Networking_Guide/sec-Understanding_the_Device_Renaming_Procedure.html
8.6. Understanding the Device Renaming Procedure
The device name procedure in detail is as follows:
-
A rule in
/usr/lib/udev/rules.d/60-net.rules
instructs the udev helper utility, /lib/udev/rename_device, to look into all/etc/sysconfig/network-scripts/ifcfg-
files. If it finds ansuffix
ifcfg
file with aHWADDR
entry matching the MAC address of an interface it renames the interface to the name given in theifcfg
file by theDEVICE
directive. -
A rule in
/usr/lib/udev/rules.d/71-biosdevname.rules
instructs biosdevname to rename the interface according to its naming policy, provided that it was not renamed in a previous step, biosdevname is installed, andbiosdevname=0
was not given as a kernel command on the boot command line. -
A rule in
/lib/udev/rules.d/75-net-description.rules
instructs udev to fill in ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH, ID_NET_NAME_MAC by examining the network interface device. Note, that some variables can be empty. -
A rule in
/usr/lib/udev/rules.d/80-net-name-slot.rules
instructs udev to rename the interface, provided that it was not renamed in a previous step, and the kernel parameternet.ifnames=0
was not given, according to the following priority: ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH. It falls through to the next in the list, if one is unset. If none of these are set, then the interface will not be renamed.
HWADDR=00:0C:29:B1:F4:0F
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eth0
DEVICE=eth0
UUID=58feae7a-690a-4886-a593-4fde0d929453
ONBOOT=yes