|
An alternative is to ignore the MAC address completely in the name assignment rules and use the PCI bus location. With identical hardware (ie motherboards with multiple network interfaces) the PCI bus location will be the same.
For example:
SUBSYSTEM=="net", SUBSYSTEMS="pci", ACTION=="add", DRIVERS=="?*", KERNELS=="0000:04:02.0", NAME="eth0"
SUBSYSTEM=="net", SUBSYSTEMS="pci", ACTION=="add", DRIVERS=="?*", KERNELS=="0000:04:02.1", NAME="eth1"
|