VLAN (Virtual Local Area Network)
Purpose: segment and group network to smaller network virtually within a single Network Switch. Similar to Subnet but it's virtually
In contrast to LAN (Local Area Network), the devices connected VLAN are not bounded physically.
By default all without assinging vLAN ID (VLAN Tagging) pVID
(Port vLan Identifier), it defaults 1
vLANs allow to segment the switch into smaller groups. For example, VLAN 20
has Host A
and Host B
and VLAN 30
has Host C
and Host D
These are like mini-switches
And each perform the three switch actions within each vLAN. Meaning each vLAN will have its own MAC address table.
[!note]
A port can belongs to multiple vLAN
vLAN vs vSwitch
vSwitch
is a virtual switch (not real switch but behave like a real one)vLAN
can apply on real switch and virtual switch