2

I want to change naming scheme for network interfaces for the classic one (eth0, eth1, etc). Is it possible to an already installed Ubuntu 16.04 machine?

user.dz
  • 47,137
  • 13
  • 140
  • 258
Thiago Rider Augusto
  • 1,610
  • 6
  • 16
  • 30
  • You may try option2 here https://askubuntu.com/a/788343/26246 . using same solution as in mattias' answer should work but may need to override `80-net-setup-link.rules` as in option1. Reference: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ – user.dz Jul 13 '16 at 12:31
  • Could you try solution here https://askubuntu.com/questions/704361/why-is-my-network-interface-named-enp0s25-instead-of-eth0 . may be a duplicate. – user.dz Jul 13 '16 at 12:41

1 Answers1

-1

It is possible, edit the following file with your favorite editor (vi for example)

vi /etc/udev/rules.d/70-persistent-net.rules 
mattias
  • 679
  • 6
  • 17
  • On my 16.04 system, `/etc/udev/rules.d/70-persistent-net.rules ` does not exist. How about yours, @mattias? – chili555 Jul 13 '16 at 01:03
  • Wops, assumption is the mother of all f.... It exists in Ubuntu 14.0.4 so I just assumed the same for 16.04. – mattias Jul 13 '16 at 17:21