解决Device eth0 does not seem to be present

对于虚拟机克隆或者模板部署的机器,网卡会有问题如下:

service network restart
Shutting down loopback insterface:                                                                                                     [  OK  ]
Bringing up loopback insterface:                                                                                                          [  OK  ]
Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED]

解决:

打开/etc/udev/rules.d/70-persistent-net.rules,查看eth1的网卡mac地址,记录后打开/etc/sysconfig/network-scripts/ifcfg-eth0;

然后替换eth0为eth1,改掉原来的mac地址;

重启网络即可

你可能感兴趣的:(解决Device eth0 does not seem to be present)