This article describes the concept and configuration of Virtual Guest VLAN tagging (VGT) mode on ESXi 7.x and above.
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x
For ESXi 7.x and above VGT configuration, see Sample configuration of virtual machine VLAN Tagging (VGT Mode) in ESX.