解决虚拟机ip突然消失 打开虚拟机,输入ip a查看ip,发现ip消失,xshell也连接不上 解决方法: 1.在root用户根目录下输入:dhclient -v 2.ifconfig / ip a 查看ip已经恢复了