How a router forwards a packet
A router receives a frame, strips the L2 header, looks up the IP destination in its routing table, picks the longest-prefix match, re-encapsulates in a new L2 frame for the outgoing interface, and sends it on. This chapter walks through that path step by step.