Text Size

Many have questioned why the network card is missing after they import a Ubuntu Virtual Machine into a Virtualization System. This happens because when you copy or import the Ubuntu Virtual Machine, Ubuntu sees a new MAC address and assigns it a different Ethernet interface.  The good news is that this is easy to resolve.

There are two school of thought on how to fix the issue.

The Ubuntu Community help site states to edit /etc/udev/rules.d/70-persistent-net.rules and remove all lines which look like this # PCI device 0x1022:0x2000 (pcnet32) an this SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:AA:BB:CC:DD:EE", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" 

Reboot and you will be all set.

The other option is easier to fix but it could have unintended consequences if there are multiple active network adapters or the VM contains information in the file that you don't know about. I use this method because I've build most of my VMs so I don't need to be worried about this.

Backup  /etc/udev/rules.d/70-persistent-net.rules

 sudo cp  /etc/udev/rules.d/70-persistent-net.rules  /etc/udev/rules.d/70-persistent-net.rules.backup

Delete  /etc/udev/rules.d/70-persistent-net.rules
sudo rm  /etc/udev/rules.d/70-persistent-net.rules

Reboot the server
Sudo reboot

When the Ubuntu VM restarts it should have an IP address.

Tech Stocks


If you like the site and feel the need to donate to help support the site, you can do it here.

Login Form