Device eth0 does not seem to be present

service network restart

 

 

vi /etc/udev/rules.d/70-persistent-net.rules

 

 Record, the mac address of eth0 or eth0 network card 00:0c:29:50:bd:17

vi /etc/sysconfig/network-scripts/ifcfg-eth0

 

Change DEVICE="eth0" to DEVICE="eth1" and
change HWADDR="00:0c:29:8f:89:97" to the above mac address HWADDR="00:0c:29:50:bd:17 "

Finally, restart the network

service network restart

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326403104&siteId=291194637