Rename network interface

Rename network interface

Using udev

Change the interface name in /etc/udev/rules.d/75-persistent-net-generator.rules

Using ip utility

ip link set eth1 down
ip link set eth1 name wan0
ip link set wan0 up

Comments

Daniel Vogelbacher's Picture

About Daniel Vogelbacher

Hi, I'm Daniel, a software developer, Linux administrator and landscape photographer.

Germany https://chaospixel.com