1、重启网卡(centos7)
service network restart
2、重启网卡失败
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. [失败]
3、解决失败的方法
NetworkManager 服务有冲突,这个好解决,直接关闭 NetworkManger 服务就好了
service NetworkManager stop
并且禁止开机启动
chkconfig NetworkManager off
4、重启网卡
完成
声明:这种方法对于我的情况有效,失败的原因有很多
可以参考:https://blog.csdn.net/weiyongle1996/article/details/75128239