VMware vSphere

 View Only
  • 1.  Distributed PortGroup with "VLAN trunking" and configurable native VLAN

    Posted Feb 26, 2021 10:47 AM

    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

     

     

     



  • 2.  RE: Distributed PortGroup with "VLAN trunking" and configurable native VLAN

    Posted Mar 17, 2023 12:57 PM

    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



  • 3.  RE: Distributed PortGroup with "VLAN trunking" and configurable native VLAN

    Posted Mar 17, 2023 01:02 PM

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



  • 4.  RE: Distributed PortGroup with "VLAN trunking" and configurable native VLAN

    Posted Jul 12, 2023 06:10 AM

    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