8.8. Controlling the Selection of Network Device Names
Device naming can be controlled in the following manner:
- By identifying the network interface device
Setting the MAC address in an ifcfg
file using the HWADDR
directive enables it to be identified by udev. The name will be taken from the string given by the DEVICE
directive, which by convention is the same as the ifcfg
suffix. For example, ifcfg
-eth0.
- By turning on or off biosdevname
The name provided by biosdevname will be used (if biosdevname can determine one).
- By turning on or off the
systemd-udev
naming scheme
The name provided by systemd-udev
will be used (if systemd-udev
can determine one).