Switches, Bridges & Collision Domains
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
A switch turns one shared medium into per-port collision domains, so simultaneous conversations no longer collide. It does not create a new broadcast domain, which matters for both performance and containment.
On the wire
The switch reads the destination MAC, looks it up in its CAM table, and forwards only to the matching egress port; unknown unicast, multicast, and broadcast are flooded. With half-duplex links, CSMA/CD still governs each port, while full-duplex links remove collisions entirely.
When it breaks
A CAM table overflow forces flooding, so a host sees frames not addressed to it and a sniffer can capture traffic it should never receive. A looping cable between two ports makes the same frame circulate and multiply, saturating links with a broadcast storm.
Switch forwarding lab
Click links to fail or restore them, then send a packet to follow the computed path.
CAM hit: the frame follows A → B → C → D to one egress port.