CentOS Linux解決Device eth0 does not seem to be present
首先,打開vim /etc/udev/rules.d/70-persistent-net.rules
記錄下,eth1網卡的mac地址00:0c:29:dc:3f:1c
接下來,打開vim /etc/sysconfig/network-scripts/ifcfg-eth0
將 DEVICE=“eth0” 改成 DEVICE=“eth1” ,
將 HWADDR=“00:0c:29:8f:89:97” 改成上面的mac地址 HWADDR=“00:0c:29:dc:3f:1c”
最後,重啓網絡