How to return ethX names to network interfaces

I will give an example of returning the old scheme of names of network interfaces in the Linux operating system.

Let’s open the grub bootloader configuration file in a text editor:

sudo nano /etc/default/grub

Find the line GRUB_CMDLINE_LINUX and add to it, for example:

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

Let’s update the bootloader and restart the server:

sudo update-grub
sudo reboot

After rebooting, make sure the network interfaces have the old ethX naming scheme:

ip a
ifconfig

See also my article:
Configuring the Network in Linux

Leave a comment

Leave a Reply