Switch réseau avec câbles Ethernet groupés par couleur illustrant la segmentation VLAN

The VLAN is one of the most powerful — and most misunderstood — tools in enterprise networking. It allows you to split a single physical network into multiple isolated logical networks, improving security, performance, and organization. This guide simply explains what a VLAN is, what it’s used for, and the hardware needed to set it up.

What is a VLAN?

A VLAN (Virtual Local Area Network) is a logical network created within a physical network. Specifically, on the same network switch, you can define multiple groups of ports that behave like independent networks: devices on one VLAN do not “see” those on another, even if connected to the same equipment.

Why segment your network?

  • Security: isolate sensitive traffic (accounting, video surveillance) from the rest, and contain any incident to a single segment.
  • Performance: limit broadcast domains to reduce unnecessary traffic.
  • Organization: logically separate departments, uses, or sites without rewiring.
  • Quality of service: prioritize a voice VLAN for uninterrupted IP telephony.

How it works: 802.1Q, access and trunk ports

The 802.1Q standard adds a tag to frames to indicate their VLAN. There are two types of ports:

  • Access port: assigned to a single VLAN, for a workstation, phone, or camera.
  • Trunk port: carries multiple VLANs simultaneously (tagged), typically between two switches or to a router/firewall.

Concrete examples of VLANs

  • Data VLAN: workstations.
  • Voice VLAN: IP phones, prioritized by QoS.
  • Guest VLAN: a public Wi-Fi access isolated from the internal network.
  • Video surveillance VLAN: IP cameras, separated for security.

VLAN and inter-VLAN routing

By default, VLANs do not communicate with each other — that’s the point. To enable controlled communication (for example, data VLAN to a printer on another VLAN), you need inter-VLAN routing, provided by a layer 3 switch or a firewall. This is also where filtering rules between segments are applied.

Tip: to size your IP address ranges per segment, use our subnet calculator.

Hardware requirements

VLANs require a managed switch (an unmanaged model cannot handle 802.1Q). To choose, see our guide managed or unmanaged switch. For security between segments, a firewall completes the setup. Find our tested and guaranteed used managed switches.

FAQ: VLAN

Do you need a special switch for VLANs?

Yes, a managed (or smart) switch compatible with 802.1Q. An unmanaged switch does not support VLANs.

Does a VLAN improve security?

It segments traffic and limits incident spread but does not replace a firewall: both are complementary.

How many VLANs can you create?

The standard allows up to 4094 VLANs. In practice, an SME uses a few (data, voice, guest, video), which is more than enough.

Do VLANs slow down the network?

On the contrary: by reducing broadcast domains, they lighten traffic. The 802.1Q tag has a negligible cost.

In summary

A VLAN segments a physical network into isolated logical networks: more security, performance, and organization without rewiring. It requires a managed switch, properly configured access/trunk ports, and a layer 3 device or firewall for inter-VLAN routing. A modest investment, especially with tested used hardware, for lasting benefits.

GuideRéseauSécurité

Leave a comment

All comments are moderated before being published