Understanding Administrative Distance in Routing
Q: Explain the concept of administrative distance in the context of routing protocols.
- Static and Dynamic Routing
- Junior level question
Explore all the latest Static and Dynamic Routing interview questions and answers
ExploreMost Recent & up-to date
100% Actual interview focused
Create Static and Dynamic Routing interview for FREE!
Administrative distance (AD) is a value that routers use to determine the reliability of different routing protocols when multiple sources provide routes to the same destination. It allows the router to prioritize which routing protocol to trust more when building its routing table. The lower the administrative distance, the more trustworthy the route is considered.
For example, the default administrative distances for several common routing protocols are as follows:
- Directly connected networks: 0
- Static routes: 1
- Enhanced Interior Gateway Routing Protocol (EIGRP): 90
- Open Shortest Path First (OSPF): 110
- Routing Information Protocol (RIP): 120
- External Border Gateway Protocol (EBGP): 20
- Internal Border Gateway Protocol (IBGP): 200
In a scenario where a router receives a route to the same destination from both OSPF and RIP, it will favor the OSPF route because it has a lower administrative distance (110 vs. 120). This concept allows network administrators to control the routing behavior and make informed decisions on which paths are preferred based on the trustworthiness of the source of the routing information.
In summary, administrative distance serves as a mechanism for the router to evaluate the credibility of routes learned from various protocols, ensuring efficient and reliable routing decisions.
For example, the default administrative distances for several common routing protocols are as follows:
- Directly connected networks: 0
- Static routes: 1
- Enhanced Interior Gateway Routing Protocol (EIGRP): 90
- Open Shortest Path First (OSPF): 110
- Routing Information Protocol (RIP): 120
- External Border Gateway Protocol (EBGP): 20
- Internal Border Gateway Protocol (IBGP): 200
In a scenario where a router receives a route to the same destination from both OSPF and RIP, it will favor the OSPF route because it has a lower administrative distance (110 vs. 120). This concept allows network administrators to control the routing behavior and make informed decisions on which paths are preferred based on the trustworthiness of the source of the routing information.
In summary, administrative distance serves as a mechanism for the router to evaluate the credibility of routes learned from various protocols, ensuring efficient and reliable routing decisions.


