Friday, 16 November 2012

“Device eth0 does not seem to be present” – cloned VM’s

This is because when RHEL clones a VM it gives it a new MAC address.
You can see that instead of just eth0 there is eth1 now too by:
cat /etc/udev/rules.d/70-persistent-net.rules

Two options to fix it:
1. Edit the above file and re-rewrite correct MAC address.
2a. up the eth1 ( ifconfig eth1 up)
2b. Go to /etc/sysconfig/network-scripts and rename the file ifcfg-eth0 to ifcfg-eth1, then edit MAC address same as 70-persistent-net.rules  for eth1 in ifcfg-eth1.

Done !!

No comments: