问题:
重启网卡
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下网卡启动不了的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号