Changed MAC address when moving Ubuntu between VirtualBoxes
Friday, 1 October 2010
So you've copied a virtual Ubuntu machine to a different VirtualBox host and the network doesn't work? Here's why.
Occassionally I move Ubuntu virtual machines from one host machine to another. In doing so, the VM gets confused because the mac address of the VM changes and eth0 disappears. This can be fixed by deleting the following file, but I always forget where it is and I always struggle to find it with google - so I'm writing it here:
/etc/udev/rules.d/70-persistent-net.rules
Delete this file and reboot, eth0 magically works again.
Leave a comment