Trunt (VLAN Tagging) to VMs on ESXi

Sometimes you need pass through Trunk to VMs on ESXi emvitonment. Ex: Nested ESXi with NSX.

To set a standard vSwitch portgroup to trunk mode:

  1. Edit host networking via the Virtual infrastructure Client.
  2. Navigate to Host > Configuration > Networking > vSwitch > Properties.
  3. Click Ports > Portgroup > Edit.
  4. Click the General tab.
  5. Set the VLAN ID to 4095. A VLAN ID of 4095 represents all trunked VLANs.
  6. Click OK.

To set a distributed vSwitch portgroup to trunk mode:

  1. Edit host networking via the Virtual infrastructure Client.
  2. Navigate to Home > Inventory > Networking.
  3. Right-click on the dvPortGroup and select Edit Settings.
  4. Within that dvPortGroup, go to Policies > VLAN.
  5. Set VLAN type to VLAN Trunking and specify a range of VLANs or specificy a list of VLANs to be passed to the Virtual machines connected to this portgroup.
    Note: To improve security, virtual Distributed Switches allow you to specify a range or selection of VLANs to trunk rather than allowing all VLANS via VLAN 4095.

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.

About

AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...

Contacts

Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077

Connect

Join us in social networks to be in touch.

Newsletter

Complete the form below, and we'll send you our emails with all the latest AUST IT news.