CentOS报错Bringing up interface eth0.....

原文地址,转载请注明出处: http://blog.csdn.net/qq_34021712/article/details/69967392     ©王赛超

我的CentOS是克隆的,克隆完成之后ifconfig 看不到eth0网卡,然后使用service network restart重启网卡 报错Bringing up interface eth0: Device eth0 does not seem......

CentOS报错Bringing up interface eth0....._第1张图片

原因

cat /etc/udev/rules.d/70-persistent-net.rules
原因是之前配置的eth0失效了,系统自动重启了eth1网卡,记住eth1网卡的ATTR{address}和NAME

CentOS报错Bringing up interface eth0....._第2张图片

解决方法:修改/etc/sysconfig/network-scripts/ifcfg-eth0文件

vi /etc/sysconfig/network-scripts/ifcfg-eth0
将 DEVICE="eth0"  改成  DEVICE="eth1"  ,
将 HWADDR="00:0c:29:8f:89:97" 改成上面的mac地址  HWADDR="00:0c:29:61:59:a9"

CentOS报错Bringing up interface eth0....._第3张图片

最后重启网卡服务就好了

service network restart #重启网卡








你可能感兴趣的:(linux,CentOS)