Thursday 3 July 2014

Device eth0 does not seem to be present (RHEL)



"Device eth0 does not seem to be present" error comes mostly when there is some MAC mismatching or ifcfg-eth0 file is absent.

Most of the times you will see this error while cloning a VM or deploying a template in linux. This happens because while cloning a linux VM, rules inside linux OS takes the new MAC as "eth1" not as "eth0".

Solutions to the problem :

1) Delete the rule stating MAC address of  "eth0" in /etc/udev/rules.d/70-persistent-net.rules file.

2) Edit the rule stating MAC address of  "eth1" in /etc/udev/rules.d/70-persistent-net.rules file and change "eth1" to "eth0".

3) Copy the MAC address specified in the rule with "eth1", which you just modified with "eth0" and paste it to /etc/sysconfig/network-scripts/ifcfg-eth0 file in place of old MAC address.

4) Reboot and Its done.


No comments:

Post a Comment