虚拟机centos NetworkManager导致网络不通解决

虚拟机网络手动配成了静态ip, 但每次重启虚拟机centos后, 发现网络全变成内网IP 127.0.0.1

解决:

先停止NetworkManager

systemctl stop NetworkManager

再禁止NetworkManager开机自启

systemctl disable NetworkManager

重启网络

systemctl restart network

posted @ 2021-01-21 12:46  时光已随风而逝~  阅读(931)  评论(0编辑  收藏  举报