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

Linux, OS, VMware Add comments

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 0×1022:0×2000 (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.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in