Newer versions of CentOS and Red Hat Enterprise Linux, such as CentOS 7 and RHEL 7, use a different format for Ethernet device naming. The long names can be cumbersome and difficult for systems administrators to work with. Fortunately, Ethernet devices can be easily reverted to the old naming format:
- edit the /etc/default/grub file, look for the line that says GRUB_CMDLINE_LINUX, and;
- add ” net.ifnames=0 biosdevname=0″ (use existing quotes, of course) at end of line
- run grub2-mkconfig -o /boot/grub2/grub.cfg
- move (mv) each /etc/sysconfig/network-scripts/ifcfg-eno* file to an ifcfg-eth* name, instead
- edit each ifcfg-eth* file, and change each reference from eno* to eth* within the file (there will likely only be one reference in the file)
- reboot, and that’s it!