Fixing eth assignment in copied vmware debian guest

When copying a vmware image with a debian guest os, the mac adress changes, and the next nic is called eth1.

To fix this, remove the old declaration and replace it with the correct one in:
/etc/udev/rules.d/z25_persistent-net.rules

Example:

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM==”net”, DRIVERS==”?*”, ATTRS{address}==”00:0c:29:93:2f:3c”, NAME=”eth0″

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM==”net”, DRIVERS==”?*”, ATTRS{address}==”00:0c:29:fe:01:76″, NAME=”eth1″

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar