Contents
What is the administrative distance of a default route?
120
The range for administrative distance is 0–255. The default value is 120 for RIP routes and 110 for OSPF routes….Setting the Administrative Distance for a Route.
| Route Source | Default Distance |
|---|---|
| OSPF | 110 |
| IS-IS | 115 |
| RIP | 120 |
| Internal BGP | 200 |
What is the difference between administrative distance and a routing metric?
In other words, the administrative distance is used to compare routes originating from different routing protocols (including static and connected), whereas the metric is used to compare routes within one single source of origin or family.
What is administrative distance in routing protocols?
Administrative distance is the feature that routers use in order to select the best path when there are two or more different routes to the same destination from two different routing protocols. Administrative distance defines the reliability of a routing protocol.
Which path has the shortest administrative distance?
The most believable route or the route with the lowest administrative distance is one that is directly connected to a router.
How do you find the administrative distance?
You can display the administrative distance of all routes on your router by typing the show ip route command:
- In the case above, the router has only a single route in its routing table learned from a dynamic routing protocols – the EIGRP route.
- Metric.
- RIP has been configured on all routers.
How are prefix length and metrics used in routing?
“Administrative distance” is a parameter for selecting a route among DISTINCT protocols. Both “metric” and “administrative distance” lie in the control plane (routing). Thus, they are used to choose the best routes for BUILDING the routing table. “Prefix length”. Longest match first is a route lookup strategy of the data plane.
When to use administrative distance in routing protocol?
If a router learns about a destination from more than one routing protocol, administrative distance is compared and the preference is given to the routes with lower administrative distance. In other words, it is the believability of the source of the route.
Which is better prefix length or administrative distance?
Prefix Length – The longest-matching route is preferred first. Prefix length trumps all other route attributes. Administrative Distance – In the event there are multiple routes to a destination with the same prefix length, the route learned by the protocol with the lowest administrative distance is preferred.
What is the default administrative distance of a static route?
as Gautam said, the default administrative distance of static routes is 1. You might be confusing the concept of least specific and administrative distance. If you have a static default route: ip route 0.0.0.0 0.0.0.0 Dialer1. this static route has an administrative distance of 1, and packets would only be routed out interface Dialer 1