Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I use VMware to Install Ubuntu 10.04. After cloning an Ubuntu virtual machine,then missing network. Detail as

  • The ifconfig command does not show the network interface

enter image description here

and clone Ubuntu virtual machine

enter image description here

How to fix no network after cloning an Ubuntu VM?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

I found the answer in http://diigo.com/0r44o. Remove the file /etc/udev/rules.d/70-persistent-net.rules. And Ubuntu will regenerate new file.

share|improve this answer
add comment

As per the previous comment udev will cache the MAC address associated with each interface.

If you remove the file /etc/udev/rules.d/70-persistent-net.rules, and reboot, you'll find the interface will come up as eth0 and be configured appropriately.

Right now you'll probably find it as eth1 instead. So your configuration in /etc/network/interfaces will be ignored.

share|improve this answer
    
More on your answer diigo.com/annotated/5d5c60dcd2ffc7eb5bbe1f2e5f224a33 –  Nam G VU Jun 11 '12 at 9:14
add comment

when cloning virtualmachines, interface name may change to avoid hardware conflicts. Type

ifconfig -a

to list all available network devices, make the necessary changes (obviously the interface name) on your /etc/network/interfaces and bring it up

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.