When cloning a CentOS VM the networking will need to be reconfigured. First of all you will probably need to edit the IP settings in ifcfg-eth0:

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

But even after this you won’t be able to ping anything on the network. We have made a change to the network so restart the network service. Restarting the network service will return the following error:  “Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.”

Device Eth0 does not exist

At this point we need to do two things,

You need to check the MAC Address of the CentOS VM by editing the settings of the VM in VMware Virtual Center. Highlight the Network Adapter and take note of the MAC Address. This is the MAC Address VMware has allocated to the VM.

Find the MAC address of VMware VM

Now, because this CentOS VM was cloned it still has the MAC Address of the VMware assigned MAC prior to the Clone. So, edit ifcfg-eth0 again and change the MAC address to the actual MAC address displayed in VMware vCenter VM properties.


Next you have to modify the following file: vi /etc/udev/rules.d/70-persistent-net.rules

you will notice there are two PCI devices, both are vmxnet3 adapters but we only have on vmxnet3 adapter attached in VMware VM properties. Notice they both have different MAC addresses and one is names “eth0” and the other is “eth1” The highlighted vmxnet3 device has the correct MAC address but is named “eth1”. So modify this file by removing the first device and changing the last device to “eth0”


Once modified, /etc/udev/rules.d/70-persistent-net.rules should look like below:


Now reboot the VM and your networking should be good now.