Dino Lupo     About     Archive     Feed

Linux - Ubuntu - Debian: moving from one machine or server to another.

Hi,

when you move one Linux virtual machine based on Debian from a phisical server to another, you may see that the network does not work anymore. It is disappeared and when you digit ifconfig you see only lo (localhost).

To solve this go to:

1
2
  
/etc/udev/rules.d  

and

1
2
3
  
sudo vim 70-persistent-net.rules  
(or sudo nano 70-persistent-net.rules)  

and delete all lines.

1
2
  
sudo reboot  

et voilĂ ! eth0 again!

Explanation: in that file debian associates mac address with ethernet devices, so the old interface is blocked with the old mac address and cannot start since the new vmware server has generated a new mac address for that interface. Deleting it will permit to associate the new mac address to the net interface.

Bye all.
Dino.

comments powered by Disqus