1、现象如下,2.解决办法:查证后发现这个默认的设置为vmnet03.参考文章:Xshell连接不上虚拟机centos7_centos7的nat模式可以ping通网络,但是用xshell连不上是什么原因-CSDN博客