To run a DHCP Server or a Gateway on a VM on ESXi, you will need VLAN support.
In order to create VLAN interfaces on a VM and listen to them, we need to attach the VMs virtual NIC to a Virtual Machine Port Group with VLAN 4095, which represents all VLANs.
...