Network interface does not work in copied KVM virtual machine

danypd69

Renowned Member
Oct 8, 2010
28
0
66
Hello
I have installed proxmox 2.0rc1 on a shiny new dell r710
I created and configured my first vm with centos 6.2 and virtio bridged network interface; it works very good.
Then I wanted to create a clone of the vm and copied the disk image into a new vm.
When I boot the clone the network interface is not recognized by the os.
ifconfig eth0 says "error fetching interface information: Device not found"
The kernel modules for virtio are the same of the working vm and lspci finds the interface ("Ethernet controlled: Red Hat, Inc Virtio network device)
I tried to remove/recreate the interface and also to use a different driver (rtl8139)

I have also tried to backup the vm and restore it to another id with qmrestore but the result is the same.

Any idea of what could be wrong ?
 
Yes!

udev: renamed network interface eth0 to eth1

Thanks a lot for the suggestion, I have changed the name in the udev rules.