vi /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?“, ATTR{address}==”00:0c:29:5a:6c:73”, ATTR{type}==”1”, KERNEL==”eth“, NAME=”eth0”
PCI device 0x8086:0x100f (e1000)
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?“, ATTR{address}==”00:0c:29:e5:6b:c4”, ATTR{type}==”1”, KERNEL==”eth“, NAME=”eth1”
a.刪除第一個eth0行信息刪除
b.將第二行eth1改爲eth0
重啓即可