I’m currently moving VMs around a lot between VirtualBox and ESXi and came across the following problem I hadn’t had for a while.
If you clone a Ubuntu VM and import it into ESXi you may get the following error:-
SIOCSIFADDR: no such device
The problem is that a new MAC address is created, and the old one still exists. What you need to do is get the MAC address of your card from the Virtual Infrastructure Client (right click the VM – select network adapter and you will see the MAC address).
Then and edit this file:-
/etc/udev/rules.d/70-persistent-net.rules
What you need to do is delete the old NIC references (i.e. the ones that arent your MAC address).
Now save the file, and reboot the system (a cold reboot) and your NIC should now be recognised.
