本机Win7,点击网络查看虚拟网卡VMware Network Adapter VMnet3显示为未识别的网络,导致本机无法使用与虚拟机在一个子网下的IP。
解决方法:
1,进入注册表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}],先导出做备份。
2,逐项查看其下的[项](0000,0001至00xx),看右边哪一项的名称为DriverDesc,值为:"VMware Virtual Ethernet Adapter for VMnet3"。
3,找到后,在此000X项中添加一个“DWORD”值(32位),名称为“*NdisDeviceType”(*号是必须的),数据值改为“1”。
4,如果想修改其它虚拟网卡则重复第2、3步,添加值即可。
完成后重新停用网卡再启用网卡或重启机器即可。
NdisDeviceType含义如下:这里这么理解设置此项后防火墙将不对其做任何处理,将作为内部网络处理,即成为可识别的网络。
Vista automatically identifies and monitors the networks to which a computer connects. If the NDIS_DEVICE_TYPE_ENDPOINT flag is set, the device is an endpoint device and is not a connection to a true external network. Consequently, Windows ignores the endpoint device when Windows identifies networks. The Network Awareness APIs indicate that the device does not connect the computer to a network. For end users in this situation, the Network and Sharing Center and the network icon in the notification area do not show the NDIS endpoint device as connected. However, the connection is shown in the Network Connections Folder. Also, if NDIS_DEVICE_TYPE_ENDPOINT is set, the Windows Firewall ignores the connection when Windows Firewall enforces public, private, or domain policies.