Network Unavailable Issue After VM Move

Mindwatering Incorporated

Author: Tripp W Black

Created: 07/23/2009 at 01:49 AM

 

Category:
Ubuntu
Configuration Files

Issue:
After VM move, network is not auto detected like normal.
Instead, if you try to start networking you will get an error with "no such device".

Workaround:

Enter the command:
sudo dmesg | grep eth0

I received:
eth0: registered as PCnet/PCI II 79C970A
udev: renamed network interface eth0 to eth1

The answer is that my network interface was renamed from eth0 to eth1. I was not able to get udev to remap it back.
So, with a server out of service, I decided to simply update the /etc/network/interfaces file.
sudo vi /etc/network/interfaces

I changed both of my eth0 lines to eth1 instead. I restarted networking next.
sudo service networking restart


previous page

×