首页 > 代码库 > VMware Network Adapter VMnet1和VMnet8 被归入[未识别的网络-公用网络]的解决方法(转录的)

VMware Network Adapter VMnet1和VMnet8 被归入[未识别的网络-公用网络]的解决方法(转录的)

系统: Windows7 x64

虚拟软件: VMware Workstation 7.1.3

情况:VMware Network Adapter VMnet1和VMnet8 被防火墙认定为[未识别的网络-公用网络],阻隔,无法使用端口映射,虚拟机的80端口无法传入,数据包只能出不能入。且公用网络被限制不能修改为家庭或工作网络。

解决方法:参考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:
  1. Click Start > Run, type regedit and, click OK.
  2. 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:
    1. If {4D36E972-E325-11CE-BFC1-08002BE10318} is not still highlighted, click it.
    2. Go to File > Export.
    3. Pick a location and name for the Registration File (*.reg) .
    4. Click Save.
  3. Click 0000.
  4. Look at the content of the Data field associated with the DriverDescentry.
  5. If you see VMware Virtual Ethernet Adapter for VMnet<x>, where<x> is replaced by a number, then:
    1. Right-click an empty space in the right content pane.
    2. Click New > Dword.
    3. Type *NdisDeviceType and press Enter.
      Note: Be sure to include the asterisk (*) at the beginning of the entry.
    4. Double-click *NdisDeviceType.
    5. Type 1 and press Enter.
  6. 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.
  7. Follow the Disable the VMware virtual NICs section of this article above.
  8. Repeat step 8 but click Enable this network device instead.

 

简单中文翻译为:

1,进入注册表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}],先导出做备份。

2,逐项查看其下的[项](0000,0001至00xx),看右边哪一项的[值]为:"DriverDesc"="VMware Virtual Ethernet Adapter for VMnet1"。

3,找到后,添加一个“DWORD”值(32位),名称为“*NdisDeviceType”(*号是必须的),数据值改为“1”。

4,重复第2步,找 VMnet8 ,再重复第3步,添加值。

完成后重启windows即可。

 

来源: <http://blog.sina.com.cn/s/blog_6452c6b40100qerm.html>  博客名字为:“永无止境的Pasu

VMware Network Adapter VMnet1和VMnet8 被归入[未识别的网络-公用网络]的解决方法(转录的)