General Information
Persistent network interface names prevent interfaces being renamed from “eth0” to “eth1” upon reboot.
Instead, a name based upon BIOS/firmware information can be used if available.
Checklist
Install biosdevname
yum install biosdevname
Enable biosdevname as a parameter passed to the kernel
vim /etc/default/grub # Add to GRUB_CMDLINE_LINUX values GRUB_CMDLINE_LINUX="biosdevname=1"
vim /boot/grub/grub.conf # Append biosdevname=1 to all kernel lines. Example: kernel /vmlinuz-2.6.32-279.22.1.el6.x86_64 ro root=/dev/sda3 biosdevname=1
Update Grub config
grub2-mkconfig -o /boot/grub2/grub.cfg
update-grub
The following preference order is used for biosdevname: