1. 程式人生 > >【環境配置】Win7下vmware虛擬網絡卡顯示未識別的網路

【環境配置】Win7下vmware虛擬網絡卡顯示未識別的網路

本機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.