Administrative Distance
Administrative Distance, also seen as route preference and believability is a number that is assigned to dynamic routes, static routes, and directly-connected routes. The lower the number the more preferred the route is.
What if you had you had two different routing protocols on the same device (Also known as “ships-in-the-night”) and a learned route from both routing protocols?. That’s where administrative distance comes into play. The lower the administrative distance the more believability/trustworthy the route is.
Vendors will typically design their routers to assign a default administrative distance for each type of route source. Since we are talking Cisco here, below is table of Cisco’s default administrative distances. These values are not an industry standard.
Cisco ’s Administrative Distance Default Values
Route Source | Administrative Distance |
---|---|
Connected interface* | 0 |
Static route | 1 |
Enhanced Interior Gateway Routing Protocol (EIGRP) Summary Route | 5 |
External Border Gateway Protocol (eBGP) | 20 |
Internal EIGRP | 90 |
Interior Gateway Routing Protocol (IGRP) | 100 |
Open Shortest Path First (OSPF) | 110 |
Intermediate System‑to‑Intermediate System (IS‑IS) | 115 |
Routing Information Protocol (RIP) | 120 |
Exterior Gateway Protocol (EGP) | 140 |
On‑Demand Routing (ODR) | 160 |
External EIGRP | 170 |
Internal Border Gateway Protocol (iBGP) | 200 |
Unknown** | 255 |
*When a static route refers to an interface instead of a next hop address, the destination is considered to be a directly connected network.
**If the administrative distance is 255, the router does not believe the source of that route and does not install the route in the routing table.