Centos server, had to replace the motherboard now the embedded NICs don't work

Basically what the title says. Had to replace the motherboard on an HP DL380 G6 today, of course now the embedded NICs don't work because the ifcfg-eth files have the MAC addresses for the embedded NICs from the old machine.

How can I find the new/correct MAC addresses so I can edit the ifcfg-eth files?:confused:

OS is Centos 6.5 if that's helpful

Comment out the MAC address lines in your ifcfg-ethX files. Shut down your interfaces. Bring up your interfaces one by one, and use ifconfig or ethtool to discover the MAC address of the interface.

Ok, so I'm looking at it now, I have the MAC addresses for the new NICs. However, it insists that eth0 is not present.

Doing and ifconfig -a shows me new devices, eth6 eth7 eth8 and eth9 have the corresponding new MAC addresses. However eth0 eth1 eth2 eth3 no longer show up at all.

Is there a way to reset this?

---------- Post updated at 04:25 PM ---------- Previous update was at 02:14 PM ----------

Nevermind, I figured it out.

I had to edit the rules file in /etc/udev/rules.d

1 Like