在VMware workstation裏建立好虛擬機後,可以ping通外網,但在主機經過xshell沒法鏈接,且沒法ping通,現簡要介紹解決步驟html
1shell
在虛擬機裏ping主機ip,或外網ip,看是否能ping通,如圖個人能夠ping通外網和主機網絡
若是ping不一樣,請參考https://jingyan.baidu.com/article/15622f242d2fb5fdfcbea58b.html配置靜態ip或查看靜態ip配置是否有問題spa
23d
在主機使用xshell或者使用cmd嘗試看可否ping通虛擬機htm
如圖發現沒法ping通blog
ENDip