Summary: How Switches Actually Think
Learn how switches forward and filter frames, build MAC address tables, and prevent Layer 2 loops.
Why This Chapter Matters
Have you ever wondered what happens inside a switch when it receives a frame? How does it know where to send it? Does it remember who’s connected where? What if it doesn’t know where to send the frame?
In this chapter, we stop treating switches like magic boxes and open them up to reveal their internal logic. We’ll walk through the three big jobs a switch performs:
- Forwarding frames to the right destination
- Learning which MAC addresses are where
- Avoiding loops (yes, switches can get stuck in endless loops if we’re not careful)