dandreye
Contributor
Contributor

vmxnet3 NIC removes VLAN tags in Windows 7 x64 VM

Hi All,

I have a distributed vSwitch with a port group that has a range of VLANs enabled. An Ubuntu 14 x64 VM and a Windows 7 x64 VM both have a pair of vmxnet3 NICs each and their 2nd NIC is connected to that port group for traffic monitoring purposes (I have Wireshark running on both VMs). I can see VLAN tags on traffic captured by the former one but not the latter one. How do I fix the latter one? I assume my VGT mode is fine and the problem is within guest (e.g. vmxnet3 driver?), else I wouldn't be seeing VLAN tags on Ubuntu VM either.

The port group is set to Promiscuous mode, VLAN  and VLAN Trunking 0-4094 (it won't let me enter 4095 there - I suppose 4095 is only applicable to standard vSwitch):

https://s7.postimg.org/3zyx57kej/image.png

https://s28.postimg.org/qhx6xeh31/image.png

Already tried using E1000 NIC instead of vmxnet3 and that doesn't help even after adding "MonitorMode=1" or "MonitorModeEnabled=1" into Windows Registry as advised in an Intel document (those settings do help in case of physical Intel NICs). Meanwhile several sources report E1000 NIC preserving VLAN tags with Linux.

A KB article on how to make it work in Windows with all of the most commonly used NIC types would be ideal.

Many thanks in anticipation!

Reply
0 Kudos