There is no such feature in VMware (Not Sure) .But still you can try this.
1. Assign Two vNics to a VM.
2. Place one vNic in 192 N/W and other in 172 N/W.
3. Make static Routes in the VM's guest OS between these two networks to and fro.
4. Use gateways as the IP's given in these VM's.
Also there are applications (Checkpoint) available which can be installed in Guest OS to route the traffic between VLAN's.