On my Ubuntu 17.04 Server the Loopback Interface keeps beeing renamed to "rename1" during boot (Syslog: rename1: renamed from lo).

I tried to disabling renaming by editing grub.conf: GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

I have no files in /etc/udev/rules.d/.

ifconfig outputs the following:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
rename1: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
    inet  netmask
    inet6 ::1  prefixlen 128  scopeid 0x10<host>
    loop  txqueuelen 1000  (Local Loopback)
    RX packets 8  bytes 544 (544.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 8  bytes 544 (544.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

How can I permanently change the name of the loopback interface to lo?

My /etc/network/interfaces conatins the following:

# The loopback network interface
auto lo
iface lo inet loopback
  • Check for the ifrename package, if there is, simply uninstalling it may be also a solution. – peterh says reinstate Monica Apr 28 '17 at 15:13
  • There is no such package installed. – mjr Apr 28 '17 at 18:48
  • I would do grep -r rename1 /etc and the offending file will probably show up. – Michael Hampton Feb 22 '18 at 23:53

Take a look in /etc/network/interfaces I'm not sure if 17.04 keeps it there but that's where its been in the past.

  • Not sure what I should change there. In my interfaces I have the configuration for lo, but it doesn't work (see updated Question). – mjr Apr 28 '17 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.