centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.

服务器   发布日期:2025年05月31日   浏览次数:240
  1. Mar :: localhost systemd: Starting LSB: Bring up/down networking...
  2. Mar :: localhost network: 正在打开环回接口: [ 确定 ]
  3. Mar :: localhost NetworkManager[]: <info> [1552270699.1055] audit: op="connection-activate" uuid="fd005f04-41ac-4401-bd27-decd3492dd84" name="ens33" result="fail" reason="No suitable device found for this connection."
  4. Mar :: localhost network: 正在打开接口 ens33 错误:激活连接失败:No suitable device found for this connection.
  5. Mar :: localhost network: [失败]
  6. Mar :: localhost network: RTNETLINK answers: File exists
  7. Mar :: localhost network: RTNETLINK answers: File exists
  8. Mar :: localhost network: RTNETLINK answers: File exists
  9. Mar :: localhost network: RTNETLINK answers: File exists
  10. Mar :: localhost network: RTNETLINK answers: File exists
  11. Mar :: localhost network: RTNETLINK answers: File exists
  12. Mar :: localhost network: RTNETLINK answers: File exists
  13. Mar :: localhost network: RTNETLINK answers: File exists
  14. Mar :: localhost network: RTNETLINK answers: File exists
  15. Mar :: localhost systemd: network.service: control process exited, code=exited status=
  16. Mar :: localhost systemd: Failed to start LSB: Bring up/down networking.
  17. Mar :: localhost systemd: Unit network.service entered failed state.
  18. Mar :: localhost systemd: network.service failed.

解决办法:

  1. 如果新加网卡或者克隆虚拟机,可能是 mac 地址不对,使用 ip addr 查看mac地址
    • 永久修改:

然后把  /etc/sysconfig/network-scripts/ifcfg-ens33(MACADDR) 或者 /sys/class/net/ens33/address

    • 临时修改:
  1. #ifconfig eth0 down /*禁掉eth0网卡,这里以eth0网卡为例*/
  2. #ifconfig eth0 hw ether :AA:BB:CC:DD:EE /*修改eth0网卡的MAC地址*/
  3. #ifconfig eth0 up /*重新启动eth0网卡*/

        2. Mac 没问题,关闭系统的 NetworkManager , 注意大小写

以上就是centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.的详细内容,更多关于centos 7:network: 正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.的资料请关注九品源码其它相关文章!