VMware – copied the Ubuntu vm but now the networking doesn’t work?

You’ve probably seen it, you copied an Ubuntu Linux virtual machine under VMware and tried starting it up with a new VMware UUID and the networking doesn’t work.  When you use a new VMware UUID, it will change the mac address on any virtual network device you have configured in the virtual machine.

A very simple ‘fix’:

In /etc/udev/rules.d/70-persistent-net.rule, delete the entry for your network device(s) so the new mac address is recognized on reboot.  It will look something like so:

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:aa:4c:75", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

Your network devices will now be working.  Don’t forget to reboot your virtual machine.

Share Button