Quantcast
Channel: Linux – IT Pings!
Viewing all articles
Browse latest Browse all 11

How to Bring back eth0 on CentOS 7 ( No Dynamic Ethernet Names)

$
0
0

To Install CentOS 7 without dynamic Ethernet names such as enps2001 use the following technique.

Edit the grub file

Go to /etc/default/grub and add the following lines

In front of /root add the following

biosdevname=0 net.ifnames=0

Then issue the following command

grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot the machine and you will see eth0 and eth1 instead of enps2001 etc.

Thanks,
Salman


Viewing all articles
Browse latest Browse all 11

Trending Articles