您的位置 首页 技术

centos7下网卡启动不了

问题: 重启网卡 systemctl restart network 返回报错: Restarting network (via systemctl): Job for netwo…

问题:

重启网卡

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下网卡启动不了的详细内容,更多请关注24课堂在线网其它相关文章!

本文来自网络,不代表24小时课堂在线立场,转载请注明出处:https://www.24ketang.cn/57853.html

为您推荐

返回顶部