VMware Clone Network Fix

From TGITMW
Jump to: navigation, search

After cloning or importing ovf in VMware you may fing your CentOS of Redhat clone does not have a functioning network

First remove the kernel’s networking interface rules file so that it can be regenerated...

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

UPDATE your interface configuration file in Redhat.

# vi /etc/sysconfig/networking/devices/ifcfg-eth0

or in CentOS...

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

Remove the MACADDR entry and update it to the new MACADDR for the interface as displayed in your VMware VMnet settings. Remove the UUID entry. Save and exit the file.

:wq!

Restart the VM

# reboot

Personal tools