When you have a network switch which is capable of 802.1Q, also known as VLAN tagging or trunking, and you want to transport a certain VLAN directly into a VM in VMWare Player or Workstation or VirtualBox you have to do some additional configuration. Standard desktop versions of Windows strip off VLAN tags. You've probably already tried to enable Packet Priority and VLAN. People who are using Wireshark encounter the missing VLAN tags possibly as well and could follow the solution as wel below.

All you have to do is this (it took me a while I found this one out for my Intel(R) Gigabit CT desktop adapter):

1. Backup your Windows registry;

2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet0001\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318};

3. Open the tree and you'll see folders like 00xx;

4. Look for the folder containing your network card/NIC, displayed as DriverDesc

5. Modify/add a REG_DWORD 32bit named MonitorMode with value 1 (alternatively Realtek or other cards use REG_DWORD MonitorModeEnabled);

6. Reboot and you should be done (or enable/disable NIC).

Happy tagging!