Conor Buckley


Modifying Network Interface Names in Arch Linux

The name of the network interface as seen by the system can be set from '/etc/udev/rules.d/10-network.rules'. In the case of my system, this file did NOT exist by default, and as such needed to be created. As per usual, root privileges are required to create or modify this file.

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="52:54:00:9a:f1:61", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="52:54:00:46:c7:77", NAME="eth1"

In the example above (in bold), the interface with the M,A.C. address: '52:54:00:9a:f1:61' will be assigned the name: 'eth0', and the interface with the M.A.C. address: '52:54:00:46:c7:77' will be assigned the name: 'eth1'.