02Chapter 2: Unicast, broadcast and multicast destinationsThis chapter assumes you know what a MAC address is, how it differs from an IP address, and that an Ethernet frame carries a destination MAC, a source MAC and an EtherType. Here you learn how a switch classifies the destination address, because that decision determines whether the MAC address table 3 min read
03Chapter 3: Why switches replaced hubsThis chapter assumes you know what a MAC address is, what the fields of an Ethernet frame are (destination MAC, source MAC, EtherType), and that hubs, switches and routers do different jobs. It explains the problem a hub has and why a switch needs a MAC address table to solve it.2 min read
04Chapter 4: The MAC address table: what it storesThis chapter assumes you know how a MAC address differs from an IP address, which fields an Ethernet frame carries (destination MAC, source MAC, EtherType), and the high-level roles of a hub, a switch and a router. Here you will see what the switch keeps in memory. Later chapters cover how entries g2 min read
05Chapter 5: Learning: recording the source address on the ingress portThis chapter assumes you know the Ethernet frame fields (destination MAC, source MAC, EtherType) and that a switch keeps a MAC address table. Here you will see how the entries get into that table.2 min read
06Chapter 6: Looking up the destination and forwardingThis chapter assumes you know the Ethernet frame fields (destination MAC, source MAC, EtherType) and that the switch already keeps a MAC address table, filled by learning from source addresses. Here the focus is the second half of the job: using that table to decide where a frame goes.3 min read
07Chapter 7: Flooding when the destination is unknown or non-unicastThis chapter assumes you know the Ethernet frame fields (destination MAC, source MAC, EtherType). It also assumes you know that a switch learns source addresses into a MAC table, as covered in earlier chapters. Here we look at what the switch does when the table cannot give it a single output port.2 min read
08Chapter 8: Filtering: when the frame is not forwarded at allThis chapter assumes you know the Ethernet frame fields (destination MAC, source MAC, EtherType), the difference between unicast, broadcast and multicast addresses, and how a switch learns source addresses and looks up destinations.2 min read
09Chapter 9: Aging out stale entriesThis chapter assumes you know how source learning fills the MAC address table and how the forwarding decision uses it. Here we cover what happens to entries that stop being useful.2 min read
10Chapter 10: When a host moves: updates and MAC flappingThis chapter assumes you know how a switch learns source addresses, looks up destinations, and ages entries. Here we look at what happens when a MAC address that is already in the table shows up on a different port.2 min read
11Chapter 11: Reading the table on a Cisco-style switch and a Linux bridgeThis chapter assumes you know what a MAC address is, how a switch learns source addresses, and how it floods, forwards and ages entries. Here you will read the table on two real devices and tie each column back to those behaviors.3 min read
12Chapter 12: VLANs and per-VLAN learningThis chapter assumes you know how a switch learns source addresses, floods unknown destinations, and ages entries. It adds one idea: the table is keyed by VLAN as well as by MAC address.2 min read
13Chapter 13: Several switches: many MAC addresses behind one portThis chapter assumes you know how a single switch learns source addresses, looks up destinations, and floods unknown unicast frames. It also assumes you know what a VLAN is. Here we see what changes when switches connect to each other.3 min read
14Chapter 14: Finite table size and MAC floodingThis chapter assumes you know how a switch learns source addresses, floods unknown unicast frames, and ages out idle entries. It covers what happens when the table fills up and how an attacker can force that.3 min read
15Chapter 15: Static entries and port securityThis chapter assumes you know how a switch learns source addresses, ages entries, and floods unknown destinations. It also assumes you know that the MAC address table has a finite size. Here you will see how to take control of the table with static entries and how port security limits what a port ma3 min read
16Chapter 16: Topology changes and flushing the tableThis chapter assumes you know how a switch learns source addresses, floods unknown destinations, and ages out idle entries. It also assumes you know what a spanning tree protocol (STP) does at a high level: it blocks redundant links so that a switched network has no loops.3 min read