解决出现"Bringing up interface eth0: ~~ 'System eth0'“详解

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决出现"Bringing up interface eth0: ~~ 'System eth0'“详解相关的知识,希望对你有一定的参考价值。

问题:用ifconfig查看只有一个回环口,用ifconfig -a查看有eth1和lo,如下图:

技术分享

配置文件中有eth0存在

技术分享

此时重启服务FAILED

技术分享


解决方法:

#mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1

  将网卡eth0的名称改为eth1

修改配置文件如下:

技术分享

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

技术分享

硬件地址name改的和上图一样,将eth0的内容字段删除,保留eth1

重启network服务

技术分享

重启服务成功



以上是关于解决出现"Bringing up interface eth0: ~~ 'System eth0'“详解的主要内容,如果未能解决你的问题,请参考以下文章

CentOS Linux解决网卡报错Bringing up interface eth0.....

Centos7: Bringing up interface eth0: Error: Connection activation failed

解决Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.(示例代

Bringing up interface eth0: Error: No suitable

Bringing up interface eth0: Error:Unknown connection:

克隆的Linux系统中重启网卡失败“Bringing up interface eth0: Device eth0 does not seem to be present“