Fix Network Card Naming issue “__tmpxxxx” in Linux (Redhat)

Hossein Mehrara's Blog

Fix Network Card Naming issue “__tmpxxxx” in Linux (Redhat)

  • Fix Network Card Naming issue “__tmpxxxx” in Linux (Redhat)

After inserting some of the network interface cards (NIC) in HP servers (DL 380 G8 in my case) hosting Linux, they are shown and named as  ‘__tmpxxxx’ instead of “ ethX” .

Ethernet interface keeps changing into c even after two more reboot of the server.



First we need to get their MAC:

  • ifconfig –a |grep HW


__tmp1428126851 Link encap:Ethernet  HWaddr 1C:C1:DE:72:4D:53
__tmp1516900339 Link encap:Ethernet  HWaddr 1C:C1:DE:72:4D:52
__tmp1854964292 Link encap:Ethernet  HWaddr 78:E7:D1:FB:B1:2F
__tmp1950613216 Link encap:Ethernet  HWaddr 78:E7:D1:FB:B1:2E
bond0     Link encap:Ethernet  HWaddr 1C:C1:DE:72:4D:50
eth0      Link encap:Ethernet  HWaddr 1C:C1:DE:72:4D:50
eth1      Link encap:Ethernet  HWaddr 68:B5:99:B4:9F:E8

  • (to find driver type) ethtool -i eth2

driver: bnx2

version: 2.0.23b

firmware-version: bc 1.9.6

bus-info: 0000:09:00.0

  • add alias “eth2” and driver type “bnx2” in conf

cat /etc/modprobe.conf

alias eth2 bnx2


  • (add HWADDR = xxxxxx  to config files)

vi /etc/sysconfig/network-scripts/ifcfg-eth2



HWADDR= 1C:C1:DE:72:4D:53





  • (reboot the server) init 6

Please note to check bond config file


  • ifconfig | grep “eth”






Solution by : Hossein Mehrara


Leave a Reply

Your email address will not be published. Required fields are marked *