星期五, 六月 25, 2010

Network interface problem when copy the Ubuntu Server Image over Virtual Machine

When copy the Ubuntu Server image file to another machine,the previous bridge Ethernet interface can not be actived in the new machine, even use sudo ifup eth0 command.

Here, you have to clean the previous interfaces in the /etc/udev/rules.d/70-persistent-net.rules , remove the #PCI device entries with non existing MAC address. 

Then restart udev to allow the change to take affect by /etc/init.d/udev restart

Nest step is to let the kernel module to awear the ethernet device by using the following commands.

modprobe -r module
modprobe module

 *The module name from the 70-persistent-net.rules

Now, use ifconfig, the eth0 shold be up now.

没有评论: