Udev and Ethx

SYNOPSYS

If you have multiple network interfaces you may encounter index changing depending on driver initialisation order,
or maybe your network driver sets a weird interface names that is not really script friendly.
This shows you how to control your network interfaces naming with udev.

PROCEDURE

/etc/udev/rules.d/eth-names.rules
1
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="d4:be:d9:c9:81:4c", NAME="eth0"