Changing Network Interfaces in Centos 7
Network Interfaces
I would want to share how you can change the Network Interfaces Name in Centos 7 machines.
First you need to edit file as below :
You may add "net.ifnames=0 in GRUB_CMDLINE_LINUX" variable as below.
Then rebuild the grub to apply the name on boot.
Next, you may now rename the network interface that suits your preferences
When editing the network-interface, remember to also change the value of DEVICE and NAME, then reboot the server.
After reboot, use command "ifconfig" to verify whether the Network Interface name are changed.
Last updated
Was this helpful?