Why udev is renaming interface to a name other than what its mentioned in '70-persistent-net.rules' file ?
Issue
udevconfiguration file-/etc/udev/rules.d/70-persistent-net.ruleshas 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-eth0file in whichDEVICE=eth0and sameMACaddress as that of aboveudevfile is mentioned. - Still after reboot , interface is coming up with name
eth4. Why ? dmesghas 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
