NICs have the wrong MAC address and "systemd-udevd: error changing net interface name ethX to ethY: File exists" error is seen in the logs

Solution Verified - Updated -

Issue

  • We have set HWADDR in the ifcfg files to assign specific names to each interface and it is not working.
  • Trying to give a specific name like eth0 or eth1 to each interface.
  • Finding these error messages and interfaces show the wrong MACs in ifconfig.

    systemd-udevd: error changing net interface name eth0 to eth1: File exists
    systemd-udevd: error changing net interface name eth1 to eth0: File exists
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In