Switches associate ports or received frames with VLAN membership and forward traffic within the applicable domain. Trunk links can carry multiple VLANs, commonly using tags defined by the Institute of Electrical and Electronics Engineers (IEEE) 802.1Q standard. Access ports commonly carry one VLAN without requiring the attached endpoint to tag its ordinary traffic.
Communication between VLANs normally requires routing, which may occur on the same physical switch or through a separate device. Routing alone does not decide whether that communication should be permitted; explicit filtering and access policy provide the intended restrictions.
Key points
Membership and trunksPort assignments, allowed VLAN lists, and native or untagged traffic handling need consistent configuration across connected devices.
Segmentation policyFirewalls, access-control lists, admission controls, and monitoring govern required flows between zones and access within them.
VLAN hoppingTrunk spoofing or double-tagged frames can cross intended separation under vulnerable configurations; fixed port roles and deliberate tag handling reduce these opportunities.
Important limitationA VLAN separates traffic, but on its own it is not a sufficient security boundary. It does not authenticate endpoints or encrypt traffic, and unrestricted routing or configuration errors can defeat intended isolation.