Ethernet devices no longer appear as ethN

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux

Issue

  • Ethernet devices no longer appear as ethN (devices now show up as __tmpxxxx).
  • Missing eth2, eth4.

Resolution

  • Add the ehternet devices MAC address to the correct /etc/sysconfig/network-scripts/ifcfg-ethN file.
    [iphands@handsbox ~]$ grep HWADDR /etc/sysconfig/network-scripts/ifcfg-eth0
    HWADDR=00:1A:A0:B4:05:BA
    [iphands@handsbox ~]$ ifconfig eth0 | grep HWaddr
    eth0      Link encap:Ethernet  HWaddr 00:1A:A0:B4:05:BA
    

Diagnostic Steps

  • Run ifconfig and look for __tmpxxxx devices.
  • Look at the /etc/sysconfig/network-scripts/ifcfg-eth* scripts for HWADDR directives.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.