centos7 克隆 网卡无法启用

1.克隆后查看网卡无法启用,报错信息如下:

Apr 22 15:54:23 agent systemd: network.service: control process exited, code=exited status=1
Apr 22 15:54:23 agent systemd: Failed to start LSB: Bring up/down networking.
Apr 22 15:54:23 agent systemd: Unit network.service entered failed state.
Apr 22 15:54:23 agent systemd: network.service failed.
Apr 22 15:54:25 agent systemd: Starting LSB: Bring up/down networking...
Apr 22 15:54:26 agent network: 正在打开环回接口: [  确定  ]
Apr 22 15:54:26 agent network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.
Apr 22 15:54:26 agent network: [失败]
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent network: RTNETLINK answers: File exists
Apr 22 15:54:26 agent systemd: network.service: control process exited, code=exited status=1
Apr 22 15:54:26 agent systemd: Failed to start LSB: Bring up/down networking.
Apr 22 15:54:26 agent systemd: Unit network.service entered failed state.
Apr 22 15:54:26 agent systemd: network.service failed.
Apr 22 15:55:06 agent systemd: Starting LSB: Bring up/down networking...

2.百度到的大部分信息都是mac地址冲突,进行mac地址修改,mac地址修改后仍无法解决。最后在博客:http://blog.csdn.net/lcalqf/article/details/59069197找到了一个

办法,关闭NetworkManager 套件;

systemctl stop NetworkManager
systemctl disable NetworkManager

  然后重启下网络服务就可以了:

systemctl start network.service

posted @ 2017-04-22 17:02  小聪傻大  阅读(2094)  评论(0编辑  收藏  举报