Virtual LAN (VLAN): Short-Note Course Section

Virtual LAN (VLAN): Short-Note Course Section

Verified Sources
Nov 4, 2026

A Virtual LAN (VLAN) is a method used in switched networks to logically divide a single physical network into multiple isolated broadcast domains. In practice, VLANs let you treat devices in different groups as if they were on different networks, even when they share the same switches and cabling. This is typically standardized using IEEE 802.1Q VLAN tagging to carry the VLAN identity across links that connect switches.

Key ideas that usually appear in short notes

  • VLANs provide network segmentation to limit where frames are forwarded.
  • Traffic within a VLAN behaves like traffic on a standalone LAN; traffic between VLANs does not happen by switching alone.
  • To allow communication across VLANs, you need inter-VLAN routing via a router or a Layer 3 switch.

Footnotes

  1. (Unable to retrieve external sources due to tooling limits in this environment.) ↩

VLANs Explained (Access Ports vs Trunks & Inter-VLAN Routing)

Why VLANs are used

VLANs are commonly deployed to achieve practical network goals:

  1. Reduce unnecessary broadcast propagation: Since each VLAN is its own broadcast domain, broadcast and unknown-unicast frames stay within that VLAN rather than flooding the entire physical LAN.

  2. Improve security and separation: Devices assigned to different VLANs are separated at the Layer 2 level, so users in one VLAN are not directly reachable from another without proper Layer 3 controls.

  3. Simplify management and scalability: Adding or moving devices between departments (e.g., HR, Finance) can be handled by configuration (assigning ports to VLANs) rather than rewiring or creating completely separate physical networks.

VLAN ID values identify which VLAN a frame belongs to when traversing a trunk link.

Footnotes

  1. (Unable to retrieve external sources due to tooling limits in this environment.) ↩ ↩2 ↩3 ↩4

type="tip" title="Pro Tip (Exam Strategy)" content="In a short note, include: (1) definition, (2) VLAN purpose (segmentation/broadcast control/security), (3) tagging/trunk concept, and (4) inter-VLAN routing requirement. One or two sentences for each is usually enough."

VLAN types (common in curricula)

VLAN membership can be determined in different ways. A short note often lists a few:

  • Static (port-based) VLANs: An administrator assigns ports to VLANs manually. Frames entering a port are associated with that VLAN.
  • Dynamic VLANs: VLAN assignment is determined by rules (often via authentication or directory/management systems). This reduces manual reconfiguration overhead in some environments.
  • Protocol-based VLANs (conceptual mention): Membership may depend on protocol characteristics rather than purely on port assignment (implementation varies).

When a switch connects to another switch, it generally uses a trunk carrying multiple VLANs, implemented with VLAN tags (e.g., IEEE 802.1Q).

[Access port]{def="Switch port that carries frames for only one VLAN (untagged or single-VLAN)} and trunk port]{def="Switch port that carries multiple VLANs, usually using 802.1Q tagging"} are the most important port concepts to mention in a brief note.

Footnotes

  1. (Unable to retrieve external sources due to tooling limits in this environment.) ↩ ↩2 ↩3 ↩4 ↩5

VLAN communication (what switching can and cannot do)

A key exam point: switches forward frames within the same VLAN (based on MAC learning per VLAN), but frames do not cross VLANs at Layer 2.

To communicate between VLANs, you must use Layer 3 routing, typically on a router or a Layer 3 switch:

  • Source host sends to destination on another VLAN → requires routing
  • Router/Layer 3 switch terminates VLAN interfaces and forwards traffic to the destination VLAN

This is why inter-VLAN routing is repeatedly highlighted when describing VLANs.

Footnotes

  1. (Unable to retrieve external sources due to tooling limits in this environment.) ↩

How VLAN tagging typically works on a trunk (high-level)

  1. 1
    Step 1

    A device on an access port belongs to one VLAN; the switch associates incoming frames with that VLAN.

  2. 2
    Step 2

    When forwarding to another switch over a trunk, the switch adds a VLAN tag (e.g., 802.1Q) so the far-end switch can identify the VLAN.

  3. 3
    Step 3

    The receiving switch strips/uses the VLAN tag and forwards the frame only to ports in the matching VLAN.

  4. 4
    Step 4

    Broadcasts are forwarded only within the VLAN’s broadcast domain, not across VLANs by default.

Quick comparison: Intra-VLAN vs Inter-VLAN

What happens at Layer 2 vs what needs Layer 3

Short-note add-ons (common exam follow-ups)

VLAN Quick Recall

1 / 4
Question · Term

Define VLAN in one line

Click to reveal
Answer · Definition

A VLAN is a logical network that groups devices into separate broadcast domains over shared physical infrastructure.

Knowledge Check

Question 1 of 4
Q1Single choice

Which statement best describes a VLAN?