Symptoms
The network configuration in the Linux Guest operating system still refers to the original MAC addresses.
Mismatch between the MAC addresses in the virtual machine settings and the Linux operating system.
Networking does not work in a cloned Linux virtual machine.
Cause
This issue occurs when a virtual machine is cloned, the network adapter(s) are given new MAC addresses.
Resolution
To change the MAC address of the Linux operating system:
Note: To perform these steps, you should be familiar with Linux commands.
Redhat
Connect to vCenter Server using the vSphere Client
Right-click the virtual machine and click Edit Settings.
Click Network adapter and note the MAC Address.
For example, you see a MAC Address similar to:
xx:xx:xx:xx:xx:xx
Power on the Linux virtual machine.
Open a console and log in as root.
Change directory to etc/sysconfig/network-scripts.
Edit ifcfg-eth0 using a plain text editor and update the MAC address to reflect the MAC address in Step 3.
Activate the ethernet card by running this command:
ifup eth0.