好久沒用過虛擬機,今天打開用,發現SecureCRT連不上VMware Workstation了。於是,在cmd里ping了下虛擬機的ip,發現請求超時。
打開“網絡和Internet設置”,--> 更改適配器選項,進入網絡連接中心,發現有個VMware Virtual Ethernet Adapter for VMnet8 顯示“未識別網絡”,說明問題在這里。
我的操作系統是 win10 專業版 1809
首先檢查了虛擬機的虛擬網絡編輯器,確認如下設置

然后檢查虛擬機設置,如下

解決辦法:
參考VMware的知識庫文章 [http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004813]
具體操作為以下這一段話:
Redefine the VMware virtual NICs as endpoint devices
This procedure is permanent and allows for the continued use of Bridged, NAT, and Host Only networking. However, doing this causes the VMware virtual NICs to disappear from the Network and Sharing Center, even though they remain visible under Network Connections. This also causes the VMware virtual NICs to be exempt from all Windows Firewall access rules. When implemented, the control of virtual machine network access must be done from the guest operating system of each virtual machine. This bypasses the default security model of Windows with respect to the the VMware virtual NICs, and the implications of using this procedure must be carefully considered.
To redefine the VMware virtual NICs as endpoint devices:
Click Start > Run, type regedit and, click OK.
Navigate to HKEY_LOCAL_MACHINE > System > CurrentControlSet > Control>Class > {4D36E972-E325-11CE-BFC1-08002BE10318}.
Caution: VMware recommends that you back up this registry key before proceeding. To backup the registry:
If {4D36E972-E325-11CE-BFC1-08002BE10318} is not still highlighted, click it.
Go to File > Export.
Pick a location and name for the Registration File (*.reg) .
Click Save.
Click 0000.
Look at the content of the Data field associated with the DriverDescentry.
If you see VMware Virtual Ethernet Adapter for VMnet<x>, where<x> is replaced by a number, then:
Right-click an empty space in the right content pane.
Click New > Dword.
Type *NdisDeviceType and press Enter.
Note: Be sure to include the asterisk (*) at the beginning of the entry.
Double-click *NdisDeviceType.
Type 1 and press Enter.
Repeat steps 4-6, replacing 0000 in step 4 with the next entry in numerical order, until you have reached the end of all numerical entries.
Follow the Disable the VMware virtual NICs section of this article above.
Repeat step 8 but click Enable this network device instead.
具體如下:
1,cmd輸入regedit,進入注冊表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}],先導出做備份。
2,逐項查看其下的[項](0000,0001至00xx),看右邊哪一項的[值]為:"DriverDesc"="VMware Virtual Ethernet Adapter for VMnet8"。
3,找到后,添加一個“DWORD”值(32位),名稱為“*NdisDeviceType”(*號是必須的),數據值改為“1”。
完成后重啟windows即可。如下圖所示。

