How to change the network interface name in Ubuntu 12/13
February 22, 2014
· Admin
Unix
Ubuntu
Linux
Ubuntu 12.04
Two files need to be modified to change the name of a network interface in Ubuntu. For example, if you want to change eth0 for lan, simply change the NAME attribute from eth0 to lan in these files and reboot. Do not modify the KERNEL attribute.
/etc/udev/rules.d/70-persistent-net.rules
/etc/network/interfaces
Copyright 2012–2026, Claude "Tryphon" Théroux