How to change interface name in RHEL-7 (enp…. To eth0)
The main difference between RHEL7 and lower version is naming of Ethernet card. Here we change Ethernet card name like older version. Sometime application dependency also on “eth0” naming so here the process how to change name.
In my case the network interface name is look like this.
To apply this changes 1st we add some parameter in grub to push this parameter at boot time.
Add highlighted value in same line.
Then name new menu in Grub boot loader with this new configuration using “grub2-mkconfig” command.
Change LAN card name like this.
Change DEVICE or NAME value in this file to eth0
Then rename interface name and reboot server. On the booting time select new one from grub list.
Now you can see interface name changed.