How to change the network interface name in Ubuntu 12/13

L'Antre du Tryphon

schedule
2014-02-22 | 19:09h
update
2014-02-22 | 22:33h
person
www.ctheroux.com
domain
www.ctheroux.com

How to change the network interface name in Ubuntu 12/13

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

Advertisement

Imprint
Responsible for the content:
www.ctheroux.com
Privacy & Terms of Use:
www.ctheroux.com
Mobile website via:
WordPress AMP Plugin
Last AMPHTML update:
02.04.2024 - 23:07:43
Privacy-Data & cookie usage: