Member-only story

Theory about VLAN

Maciej
3 min readSep 20, 2021

--

What are Virtual LAN and VLAN?

A technology that builds logical segments beyond the physical constraints of L2 switches . This is achieved by assigning a logical number to each physical port of the L2 switch . Although logical, the segments are separated, so for example, a broadcast packet flowing in one logical segment does not reach the other logical segment. There are two types of VLAN technology:

  • A port VLAN that allows only one VLAN ID to be specified for one physical port
  • Tag VLAN that allows you to specify multiple VLAN IDs for one physical port

Port VLAN

A technology that specifies only one VLAN ID for one physical port . Even if they are connected to a single physical L2 switch, the segments created by the VLAN are virtually isolated. Therefore, in order to communicate between these segments, it is necessary to go through layer 3 as in the physical segment. Therefore, if this physical switch is an L3 switch (L2 switch with a routing function), communication between these logical segments can be performed without other network equipment.

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet