VMware Cloud Community
jojo
Contributor
Contributor

Distributed PortGroup with "VLAN trunking" and configurable native VLAN

Hi,

I want to create a "Distributed Port Group" with "VLAN trunking" as VLAN type with a range of IDs (e.g. 160-200,300,400) and a different native VLAN for untagged IP packages.

I think on a "normal" portgroup you can only choose between 0 (no vlan tagging), 4095 (VGT) or ONE VLAN id (e.g. 100) - but do not mix with VLAN tag 100 for native VLAN/untagged IP packages + VLAN 101-199.

 

This is required because my native VLAN has a different ID on the network card (physical switch) than required on the port group:

  • Physical NIC and on Switch:
    • Native VLAN: 1
    • Tagged VLANs: 2-4094

  • Distributed Port Group 1:
    • Native VLAN 100
    • Tagged VLANs: 101-199
  • Distributed Port Group 2:
    • Native VLAN 200
    • Tagged VLANs: 201-299

 

Each VM in Distributed Port Group 1 therefore starts without VLAN tagging and gets a VLAN tag 100 and starts in VLAN 100 and not in the native NIC VLAN 1 from the pyhsical switch.

I've read several kb or community sites (e.g.):

  1. https://kb.vmware.com/s/article/1004074
  2. https://kb.vmware.com/s/article/1003825
  3. https://communities.vmware.com/t5/ESXi-Discussions/Native-VLAN/m-p/2271548

but I can't find any documentation on it. Any ideas how I can configure this?

Thnx & Regards

     Jochen

 

 

 

Labels (4)
0 Kudos
3 Replies
jojo
Contributor
Contributor

I am still trying to configure my dvswitch portgroups with a native VLAN.

Two years later, and version 8 now, I still do not know how.

Anybody here who is working with something like this too?

Thnx & Regards

     Jochen

0 Kudos
RajeevVCP4
Expert
Expert

Can you elaborate more , what you want to achieve by configuring this , or do you want to know how to configure it

Rajeev Chauhan
VCIX-DCV6.5/VSAN/VXRAIL
Please mark help full or correct if my answer is use full for you
0 Kudos
jojo
Contributor
Contributor

Hi Rajeev,

I want to how I can implement this in my unatteded configuration scripts - but first I have to know if this is now possible or how I can configure this (maybe with the vi client gui).

I've searched many time before: "How to configure VLANs on a portgroup and configure possible/allowed tagged VLANs and the "nativ" / untagged VLAN for that portgroup"

The reason why I need this, is that on that portgroup all untagged (e.g. OS not supporting VLAN tagging) traffic should on a special VLAN not on the environment nativ VLAN 0.

Regards

     Jochen

0 Kudos