08-08-2018 02:46 PM - edited 08-08-2018 02:47 PM
How do I get two routing entries by default from ospf and eigrp in my routing table? What makes one protocol precede the other is its administrative distance or there is another parameter that I need to modify.
Solved! Go to Solution.
08-09-2018 04:48 AM - edited 08-09-2018 05:00 AM
Hi,
Having 2 route entries with the same subnet mask and AD, and learnt through 2 different routing protocols is not possible, it definitely was generating loops or routing problems. That is the importance of the administrative distance, the lowest AD will be preferred if both routes match with the same network characteristics.
Now if you want to know if the route is learnt via EIGRP you can use: show ip eigrp topology.
08-08-2018 05:40 PM - edited 08-08-2018 08:03 PM
Hi,
In the route selection process, the first thing which will be looked is the longest match. The second thing is administrative distance. If you learn the same route from OSPF and EIGRP, the route entry from EIGRP will be in your routing table as its administrative distance is smaller. If the routes are learned from the same process, then the one with the lower metric value will be selected.
Here are some results from a lab environment:-
If you learn routes from two different protocols (say EIGRP & OSPF) with the same AD, routes learned from the lower default AD (in this case, EIGRP) will be in the routing table. I believe, the tiebreaker is the default AD value.
P.S.:- Please do not forget to rate helpful solutions and solve the thread once you get the correct solution.
HTH,
Meheretab
08-08-2018 05:52 PM
08-08-2018 08:10 PM
08-09-2018 04:48 AM - edited 08-09-2018 05:00 AM
Hi,
Having 2 route entries with the same subnet mask and AD, and learnt through 2 different routing protocols is not possible, it definitely was generating loops or routing problems. That is the importance of the administrative distance, the lowest AD will be preferred if both routes match with the same network characteristics.
Now if you want to know if the route is learnt via EIGRP you can use: show ip eigrp topology.
08-09-2018 08:28 AM
08-09-2018 11:22 AM
Para servirte Marcos,
Ten un buen día :-)
saludos.
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