Ethernet Switching & VLANs
Build and troubleshoot switched Ethernet networks with VLANs, trunks, inter-VLAN routing, link aggregation and spanning tree.
5 objectives 6 steps about 145 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Explain Ethernet framing, MAC learning, flooding and forwarding, and broadcast domains, and read a switch's forwarding table.
- Configure access and 802.1Q trunk ports and route between VLANs with a router-on-a-stick or layer-3 interfaces.
- Explain how STP/RSTP elects a root bridge and blocks redundant links, and protect edge ports against loops and rogue switches.
- Bundle links with LACP and diagnose common layer-2 faults: VLAN or native-VLAN mismatch, loops, and duplex or MTU mismatch.
- Choose copper or fiber media, transceivers and PoE for a link from distance, speed and power needs, and identify physical-layer faults (CRC errors, link flaps, wrong optics) from interface counters and transceiver diagnostics.
Lesson plan
6 steps, about 145 min · 5 of 5 lessons available so far
- From cable to switch: media, optics, frames, MAC learning and flooding Concept · 25 min
- Lab: a Linux-bridge switch in Containerlab and its forwarding table Lab · 25 min
- VLANs and trunks: tagging, the native VLAN and inter-VLAN routing Concept · 20 min
- Lab: two VLANs, one trunk and a router-on-a-stick Lab · 30 min
- Redundancy without loops: STP/RSTP, edge-port protection and LACP Concept · 25 min
- Check: diagnose four broken layer-2 topologies Knowledge check · 10 questions
Practise it
In Containerlab, connect two VLAN-aware Linux bridges (or Open vSwitch) with an 802.1Q trunk plus a redundant link, route between two VLANs on an FRR node, enable STP and show which port blocks, then break the native VLAN on one side and capture the symptom.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own TCP/IP StackAdvanced · 30–60 h
- Build your own VPNAdvanced · 15–30 h
References
Hard prerequisites
None.
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.