我的虚拟机里边只需要重启下就行了,感谢大佬: sudo service network-manager stop sudo service network-manager start 注,Windows的这几个服务要开: