About this interactive
When several sources offer the same prefix, the router installs one by comparing:
1. **Administrative distance** first, lower wins. Cisco's defaults, from the lesson: connected 0, static 1, EIGRP summary 5, external BGP 20, internal EIGRP 90, OSPF 110, IS-IS 115, RIP 120, internal BGP 200.
2. **Metric** next, only between routes from the same source: OSPF cost, RIP hop count. Metrics from different protocols are not compared.
A **floating static route** is a static route given a distance higher than the dynamic route it backs up, so it stays out of the table until that route is lost.
Longest match, which picks among installed routes of different prefix lengths, is practised in the routing table decision game in this lesson.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →