# udevadm info -a -p /sys/class/net/eth0
# udevinfo -a -p /sys/class/net/eth0
# udevinfo -a -p /sys/class/net/eth0 |grep SYSFS{address} SYSFS{address}=="1c:c1:de:xx:ce:xx"
A upper case and lower case of Mac address is important. You must check udevinfo command.
/etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
/etc/udev/rules.d/60-net.rules
SUBSYSTEM=="net",KERNEL=="eth*",SYSFS{address}=="1c:c1:de:xx:xx:xx",NAME="eth0" SUBSYSTEM=="net",KERNEL=="eth*",SYSFS{address}=="1c:c1:de:xx:xx:xx",NAME="eth1" SUBSYSTEM=="net",KERNEL=="eth*",SYSFS{address}=="d4:85:64:xx:xx:xx",NAME="eth2" SUBSYSTEM=="net",KERNEL=="eth*",SYSFS{address}=="d4:85:64:xx:xx:xx",NAME="eth3"
SUBSYSTEM=="net",ACTION=="add",KERNEL=="eth*",SYSFS{address}=="xx:xx:xx:xx:xx:xx",NAME="eth0" SUBSYSTEM=="net",ACTION=="add",KERNEL=="eth*",SYSFS{address}=="xx:xx:xx:xx:xx:xx",NAME="eth1" SUBSYSTEM=="net",ACTION=="add",KERNEL=="eth*",SYSFS{address}=="xx:xx:xx:xx:xx:xx",NAME="eth2" SUBSYSTEM=="net",ACTION=="add",KERNEL=="eth*",SYSFS{address}=="xx:xx:xx:xx:xx:xx",NAME="eth3"
SUBSYSTEM=="net", DRIVERS=="?*", KERNEL=="eth*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0" SUBSYSTEM=="net", DRIVERS=="?*", KERNEL=="eth*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth1" SUBSYSTEM=="net", DRIVERS=="?*", KERNEL=="eth*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth2" SUBSYSTEM=="net", DRIVERS=="?*", KERNEL=="eth*", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="eth3"
KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0" KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth1" KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth2" KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth3"
Linux Network Configuration and Command