Installa la nostra toolbar!
Tips / Vmware
addthis
VMWare - Network interfaces disappears on client after copying virtual machine
Author: Katrame
Visits: 1689
Date: 29.10.2007

On VMWare after copying virtual machine, the network interface on the vm will not be available, this crappy situation create a new interface with id + 1 (original was eth0,  new one is eth1) of the old one, this is because the old interface/s stay saved with the related mac address and no new one seems active

To enable new interfaces with correct id simply edit the place where interfaces are mapped (in this example we are speaking about Debian, i need time to test path of others distro):

# vi /etc/udev/rules.d/z25_persistent-net.rules

you will probably have something like this:

# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:c5:3e:f4", NAME="eth0"

# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:c5:3e:fe", NAME="eth1"


now simply remove the first entry and rename eth1 name to eth0 (modify the part NAME="eth1" into NAME="eth0")


and you will have this:

# PCI device 0x8086:0x100f (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:c5:3e:fe", NAME="eth0"

or what you prefer.

Now strike a reboot and you will have all ok.



Page 1 of 1


Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

COMMENTI

Aggiungi un commento! +
(I commenti verranno moderati prima della pubblicazione)



Top