NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ubiq1er's avatar
ubiq1er
Tutor
Mar 17, 2021
Solved

VLAN ID & PVID

Hi, This has been discussed a lot of times, but I just can't find a satisfying answer. This page was quite helping : https://kb.netgear.com/24721/How-does-a-VLAN-work-on-a-smart-switch But... On m...
  • schumaku's avatar
    schumaku
    Mar 18, 2021

    ubiq1er wrote:

    Let's imagine my port 5 on my switch : PVID set to 1 / VLAN Membership in VLAN ID 10 - Untagged port.


    Ok, let's go ahead...

     


    ubiq1er wrote:

    - If an untagged frame enters this port : it goes to VLAN ID 1 and never touches VLAN ID 10, despite the fact that the port's membership is in VLAN 10.


    Correct. That is what the PVID config is made for.

     


    ubiq1er wrote:

    - If a tagged frame enters this port, the frame ignores the PVID (only used for untagged frames), and if the VLAN ID tag in the packet is 10 (as the port's membership), it is forwarded to VLAN 10, otherwise, it gets dropped.


    Yes. The port has no config setting to limit untagged traffic only, the configured/matching tag is honored, otherwise it's dropped. Unrelated to the PVID setting.

     


    ubiq1er wrote:

    - If a frame leaves this port 5, it is stripped from its tag and  it can only come from VLAN 10.


    Yes, because the VLAN 10 is configured [U]ntagged for the port. Again unrelated to the PVID setting.

     


    ubiq1er wrote:

    I'm not sure about the last one, but wow, the relation between PVIDs and VLAN Memberships is more complex than I thought.


    It's technically very clear 8-) However, it's the thing which is most confusing.

     

    Now you are the Smart Managed Plus geek able answer almost any VLAN related question here in the community!

     

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More