VMware supports VLAN tagging by Virtual Machines, this feature is called a guest VLAN tagging. GVT support depends on a Guest OS installed. Some OSs support VLAN tagging natively as long as NIC driver is available. Others require NIC driver for vNIC. VMXNET3 driver for Windows support VLAN tagging from Guest OS, so you can insert VLAN ID.
This is what I want to achieve here. I want to configure standard vNetwork Switch to have VLAN 2001 and 2002 and VMs in each VLANs to communicate each other.
VMware network configuration