Monday, 3 December 2007

Device eth0 has different MAC address than expected, ignoring.

If you see: -

Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring.
[FAILED]

then you may be seeing the same problem as me; am using a prebuilt VMware image of Red Hat Enterprise Linux (RHEL), where my colleague had hard-coded the MAC address of his virtual Ethernet adapter into the configuration.

The solution is simple - edit /etc/sysconfig/network-scripts/ifcfg-eth0 and remove the line: -

HWADDR=00:0C:29:2E:C9:6A

Alternatively, use the graphical network configuration tool to do the same.

Bonne chance

2 comments:

Anonymous said...

Thanks for the tip. I used the graphical Network Configuration tool to modify this entry, instead of removing it: click Edit, then Hardware tabs, and click on the Probe button next to the "Bind to MAC address" entry.

Chris.

Normand said...

Thank you for making your post available. It was enough to help me diagnose and fix my problem.

Grokking grep

A colleague was tinkering with grep  and, thanks to him, I discovered a bit more about the trusty little utility. I had not really explored ...