Hi again. Here's some more information about what's happening when changing a VMs location:
,--
# /etc/udev/rules.d/z25_persistent-net.rules
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:b1:8e:9b",
NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:ac:cd:f7",
NAME="eth1"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:4c:ab:4e",
NAME="eth2"
'--
But there is only one NIC (eth0) in the VM:
$ ls /sys/class/net
eth0
lo
sit0
Probably the generator script should replace existing eth{n}-entries in
this file, if the PCI ID is already listed.
BTW: The same effect above will occur when changing a broken network
card in a physical PC.
Regards
Kai
pgpp194ogJeSb.pgp
Description: PGP signature

