Sometimes copying or cloning a virtual machine can result in the guest OS detecting a new NIC (I think VMWare creates a new instance to avoid conflicts?). The result is your networking goes south because the new NIC has been named eth1. You can fix this by changing the networking persistent rules as detailed
here.
Stop the networking and udev services:
sudo /etc/init.d/udev stop/etc/init.d/networking stopOpen your persistent-net.rules file:
sudo nano -w /etc/udev/rules.d/70-persistent-net.rulesYou'll see two instances of the NIC, the first is the original and the second is the new one.
# PCI device 0x1022:0x2000 (vmxnet)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:36:xx:xx", ATTR{type}=="1", NAME="eth0"# PCI device 0x1022:0x2000 (vmxnet)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:75:xx:xx", ATTR{type}=="1", NAME="eth1"Delete the first entry, then change the eth1 to eth0 on the second. So you get:
# PCI device 0x1022:0x2000 (vmxnet)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:75:xx:xx", ATTR{type}=="1", NAME="eth0"Save the file, then restart udev and networking:
/etc/init.d/udev start/etc/init.d/networking startNo need to reboot, you should now have your networking abilities back.