centos7下网卡启动不了

centos7下网卡启动不了,第1张

centos7下网卡启动不了

问题:

重启网卡

systemctl restart network

返回报错:

Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.

此时查看网卡状态

systemctl status network.service

会返回报错 :rtnetlink answers file exists

原因分析:

虚拟机克隆导致的网卡mac冲突。

解决方法:

1、查看mac

ip addr

2、打开ifcfg-eth0网卡配置文件

3、修改HWADDR=新的mac或者删掉重启机器,最好删除或者注释掉。

4、重启系统

相关教程推荐:centos教程

以上就是centos7下网卡启动不了的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/711869.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-24
下一篇 2022-04-24

发表评论

登录后才能评论

评论列表(0条)

保存