Apex › Routing & naming

How a router forwards a packet

Routing protocols learn the routes; this is the split-second data-plane decision that uses them. A narrated walk through longest-prefix match: a packet arrives, several prefixes in the forwarding table match at once, and the most specific (longest) one wins — found fast by walking a trie. Type any destination and watch which port it takes.

More in Routing & naming