VMware Cloud Community
kadel79
Contributor
Contributor

How do i configure my ESXi host connected to a router, to access different VLANs

Hi,

I am a network engineer, so i know my way around a router and switch but not on ESXi.

I have a network management VM on my ESXi host and I would like my VM to reach different networks/VLANs, so i'll connect a router to my ESXi host and have a switch behind that router, the switch will have a link to different VLANs and between the router and the switch will be a trunk, so I can basically extend reachability to those VLANs.

How do i setup my ESXi host, to have one physical interface, divided using 802.1Q sub interfaces, each one with a different VLAN tag ? That's usually referred to as router-on-a-stick model.

ESXi(VM)===[subinterfaces]====Router===[trunk]====Switch===(VLAN X, Y, X)

0 Kudos
1 Reply
rcporto
Leadership
Leadership

If you will have subinterfaces inside the virtual machine, you can use what VMware call Virtual Guest VLAN tagging (VGT) mode, but if you can attach multiples virtual network adapter to your virtual machine, you can use Virtual Switch Tagging (VST), where do you will tag the VLAN at VMware Port Group level.

The following blog post explain where you can tag VLAN in VMware vSphere: VLAN Tagging VST, EST & VGT on VMWare vSphere

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos