Networking Basics

What Is a VLAN?

A Virtual LAN divides a switched network into separate logical broadcast domains, even when devices share the same physical switching infrastructure.

Switch ports can be assigned to an access VLAN, while trunk links carry traffic for multiple VLANs using tags such as IEEE 802.1Q. Routing between VLANs requires a Layer 3 device and appropriate policy.

Two practical examples

Example 1. A business places staff computers in one VLAN and guest Wi-Fi in another.

Example 2. A school separates administrative systems from student devices on shared switches.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

A VLAN is segmentation, not complete security by itself. Use firewall rules and access controls to govern traffic between VLANs.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in Networking Basics

Continue with related beginner-friendly guides.

What Is a Fiber-Optic Cable?Read guideWhat Is GPON?Read guide