Predictable network interface names

If don't like how systemd give name of your network interface (eno1,enp6s0,...) you can easy to switch on old names (eth0,eth1,..).

Open  file /etc/default/grub

sudo nano /etc/default/grub

Find line with GRUB_CMDLINE_LINUX_DEFAULT and add net.ifnames=0, my example:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash net.ifnames=0"

Now update grub configuration

sudo update-grub

If have static assign interface name in /etc/network/interfaces You need adjust interface names.

Final step is reboot of PC and enjoy in old names of interfaces.

 

 

Add ping

Trackback URL : https://www.jurisic.org/trackback/3

Page top