Device eth0 does not seem to be present


After restoring a VM from datastore or after cloning a centos VM on Vsphere, we see the following error during network restart

“Device eth0 does not seem to be present”


After cloning or restore from datastore, the MAC address needs to be edited on the VM configuration settings since the MAC ID tends to change during restore/clone


The configuration file where the Centos machine stores its NIC information is in


In this file, there will be MAC address inforamtion (ATTR{address}) for each device name (eth0, eth1). Once in, we have to update the MAC information of eth0 device with the MAC address of the restored/cloned VM.

After that start udev configuration using the command below


Now restart network services

service network restart