Pages

Wednesday, July 19, 2017

Device eth0 has different MAC address than expected ignoring

Device eth0 has different MAC address than expected ignoring


After testing the Instant Recovery of a Linux web server. See my previous post about this Recovery process. The Linux web server has no network connection. I quick look at ifconfig only showed the loopback adapter. So I tried ifup eth0 and run into to following error:
image
This can simply be fixed by changing the MAC address. Open the Virtual Machine Properties and write down the MAC Address:
image
open the /etc/sysconfig/network-scripts/ifcfg-eth0 in your favorite editor and change the HWADDR to the new MAC address and save the file.
image
The final step is to restart networking via /etc/init.d/network restart.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.