Why udev is renaming interface to a name other than what its mentioned in '70-persistent-net.rules' file ?

Solution Verified - Updated -

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 which DEVICE=eth0 and same MAC address as that of above udev 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content