VMware Network Adapter VMnet8 在网络设置里显示“未识别网络”的解决办法

时间:2024-02-21 07:55:31

好久没用过虚拟机,今天打开用,发现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即可。如下图所示。