Sentora Support Forums
Vmware cloning machine eth0 unable to start - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: General Forums - (Non-Sentora Support) (https://senforums.mach-hosting.com/forumdisplay.php?fid=1)
+--- Forum: General Discussions (Non-Support Related) (https://senforums.mach-hosting.com/forumdisplay.php?fid=2)
+--- Thread: Vmware cloning machine eth0 unable to start (/showthread.php?tid=478)



Vmware cloning machine eth0 unable to start - Me.B - 10-20-2014

ISSUE on centos 6.xx/7.xx

Main issue when you clone a VM under Vmware Workstation or ESXI is network being lost here. 

So the problem lies in Vmware adding another network card with a different UID/MAC that will replace the old eth0 and the kernel would detect it as eth1 while your old setup would keep the config in:

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

You could rename it to ifcfg-eth1 or fix the network detection in :

 /etc/udev/rules.d/70-persistent-net.rules

Edit the file and remove the line with eth0 then replace in the second network card eth1 with etho0. Save and reboot server, you should get network back.

Don't forget to fire any mac/uid you had in "ifcfg-eth0" config

This would apply to Virtual box too.

M B