05-29-2007 08:58 PM - edited 03-03-2019 05:13 PM
It has recently become unclear to me as to when AD is used for path determination. Care to help me solidify this concept? Read on...
Suppose we have RouterA which is only running EIGRP. It receives two routes: route1 and route2. Route1 is received as an internal EIGRP route (AD of 90) with a cost of 100 . Route2 is received as an external EIGRP route (AD 170) with a cost 10. Which of these routes will the routing engine install into the routing table and why?
Thank you in advance! :)
05-29-2007 09:23 PM
Hi,
If you see EIGRP having AD of 170, its External EIGRP, it was redistributed. You can use show ip route eigrp to determine which routes are installed on your RT.
HTH
jeff
05-29-2007 09:26 PM
Hi Jermy,
The router always follows the below order of priority in installing a route in its routing table
1. The subnet with longest mask(the most specific subnet. eg. 192.168.1.0/25 is preffered to 192.168.1.0/24)
2. Administrative distance
3. Metrics
So Route 1 is installed in the routing table as it has less AD of 90 irrespective of the cost.
HTH, Please rate if it does
Pavan
05-29-2007 09:43 PM
Pawan is correct
Route1 would be installed in the routing table in your case
Narayan
05-30-2007 06:14 AM
Thank you Pav, your answer was exactly what I needed. All of the books I've found seem to indicate that AD is only used on a router running multiple routing protocols. It appears that the use of AD is not limited to such a narrow scope.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide