Why udev is renaming interface to a name other than what its mentioned in '70-persistent-net.rules' file ?
Issue
udev
configuration file-/etc/udev/rules.d/70-persistent-net.rules
has below rule;
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC-ADDRESS>", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
- System has
/etc/sysconfig/network-scripts/ifcfg-eth0
file in whichDEVICE=eth0
and sameMAC
address as that of aboveudev
file is mentioned. - Still after reboot , interface is coming up with name
eth4
. Why ? dmesg
has a log stating,udev: renamed network interface eth0 to eth4
Environment
- Red Hat Enterprise Linux 6.5
udev
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.