The routing table: most specific wins
▶ Start the interactive lesson
Ticket #201: "Traffic to the Leeds depot is going over the slow backup link." You open the router and see two routes to the same place. Maya: "Routers don't take the 'best-looking' route. They follow two simple rules, in order."
Key points
- Rule 1: longest prefix match. The most specific matching route wins, whatever learned it.
- Rule 2: administrative distance (AD), for the same prefix from different sources. Lower = more trusted. Connected 0, static 1, eBGP 20, OSPF 110, iBGP 200.
- Then the routing protocol's own metric (OSPF cost, for example) breaks ties within one protocol.
- 0.0.0.0/0 is the default route: the least specific, used when nothing else matches. And remember: traffic needs a route back too.
The full lesson has more: animations, a hands-on exercise, 3 quiz questions and spaced review cards. Open it free →