1. 查看网卡信息 ifconfig
    Xshell突然连不上CentOS虚拟机
    发现网卡已经掉了,只剩下了回环地址

  2. 查看所有网卡的信息 ifconfig -a
    Xshell突然连不上CentOS虚拟机

  3. 重启网络发现报错service network restart
    Xshell突然连不上CentOS虚拟机

  4. 使用以下命令
    systemctl stop NetworkManager
    systemctl disable NetworkManager

  5. 最后重启网卡
    systemctl restart network

ok,问题解决!!!!

相关文章:

  • 2021-10-23
  • 2021-11-10
  • 2022-01-21
  • 2021-06-30
  • 2021-12-12
  • 2021-12-06
猜你喜欢
  • 2021-07-28
  • 2021-12-10
  • 2021-05-02
  • 2021-06-30
  • 2021-12-18
  • 2021-11-19
相关资源
相似解决方案