虚拟机网络手动配成了静态ip, 但每次重启虚拟机centos后, 发现网络全变成内网IP 127.0.0.1
解决:
先停止NetworkManager
systemctl stop NetworkManager
再禁止NetworkManager开机自启
systemctl disable NetworkManager
重启网络
systemctl restart network
2023-12-06 16:21:04
虚拟机网络手动配成了静态ip, 但每次重启虚拟机centos后, 发现网络全变成内网IP 127.0.0.1
解决:
先停止NetworkManager
systemctl stop NetworkManager
再禁止NetworkManager开机自启
systemctl disable NetworkManager
重启网络
systemctl restart network