Error: device eth0 not seem to be present delaying initialization


device eth0 not seem to be present delaying initialization


This error is happened due to changes in MAC address of the NIC card used. Usually this is occurring after cloning the virtual machines. The network of the new machine will not start because of this error.

The problem can be sroted by following the steps below.

Step1: Login to the machine

Step2: Delete the file containing MAC address and nic card details.

#rm -f /etc/udev/rules.d/70-persistent-net.rules

Step3: Reboot the machine

Step4: Open the file "/etc/udev/rules.d/70-persistent-net.rules" and copy the MAC address and nic card name.

#cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bb:72:20", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Step5: Update the new MAC address and nic name in the ifcfg-eth0 file.

#vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth1
HWADDR=00:50:56:bb:72:20

Step6: Restart the network

 

That's all.....

Leave a Reply

Your email address will not be published. Required fields are marked *