The shared infrastructure problem
One cable does not have to mean one network.
Offices, labs, guest devices, and administration systems may use the same switches while needing different broadcast domains and different access rules.
A VLAN (Virtual Local Area Network) gives Ethernet frames a logical network identity. Switch ports can place devices into a VLAN, while trunk links carry several VLANs between network devices.
Build the model
Four pieces of segmentation
VLAN ID
Labels a logical Layer 2 network, such as VLAN 20 for guests.
Access port
Connects an end device to one configured VLAN.
Trunk
Carries traffic for multiple VLANs between network devices.
Inter-VLAN routing
Moves traffic between VLANs through a Layer 3 decision point.
Mini experiment
Place the traffic
Select a traffic type and see whether it stays inside a VLAN or needs a Layer 3 boundary.
The guest devices can exchange local frames without crossing a Layer 3 boundary.
A VLAN keeps its local broadcast traffic within that logical segment.
Knowledge check
Test your segmentation model
Answer five questions. The answer order changes each time.