Edit this file:
vim /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:bf:c8:1b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:bf:c8:1b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
delete eth0 line, and change eth1 line to eth0:
6 comments:
Fu, thanks a lot, I have a software licensed by eth mac address and after moving the system to another virtual center the eth number has changed!!
yes its working thanks a lot
misspelled "persistent"
thanks man !
Thanks for Sharing! this solved my issue
Post a Comment