A structured lesson workspace with readable content, hands-on examples, and a clean path to completion.
| Route source | Code | Administrative distance | Trust level |
|---|---|---|---|
| Directly connected | C, L | 0 | Absolute truth |
| Static route | S | 1 | Configured by admin |
| eBGP | B | 20 | External routing |
| EIGRP internal | D | 90 | Cisco-proprietary IGP |
| OSPF | O | 110 | Open standard IGP |
| RIP | R | 120 | Legacy IGP |
| EIGRP external | D EX | 170 | Redistributed into EIGRP |
| iBGP | B | 200 | Internal BGP |
| Unknown | ? | 255 | Never used |
That table is the trust hierarchy of routing. When multiple sources provide a route to the same destination, the router picks the source with the lowest administrative distance. It's not about bandwidth, not about hop count — it's about which source the router trusts more to be correct.
That's the whole job. Nine steps, tens of nanoseconds per packet on a modern ASIC. Every routing decision comes down to the lookup in step 3 — everything else is mechanical.
The lookup is not a linear scan — it's a hardware-accelerated trie (Cisco calls it CEF, Forwarding Information Base). The routing table you see with `show ip route` is the RIB (Routing Information Base). The FIB is its compressed, forwarding-optimized twin. Different data structures, same decisions.
When you assign `ip address 10.10.10.1 255.255.255.0` to Gi0/1, the router installs two routes: a Connected route for `10.10.10.0/24` and a Local route for `10.10.10.1/32`. The Local route is what allows the router to receive traffic destined for its own interface IP — without it, the router would drop packets addressed to itself.
The routing table is the router's entire worldview. Learn to read it, know the AD values, understand connected/local routes — that's the foundation for everything else in this section. Next lesson goes deeper into each route source.
Finish the lesson once you have worked through the material. This awards ★ 15 XP.