03-14-2005 01:01 AM - edited 03-03-2019 09:02 AM
Can anyone advise on how I can ensure a router always selects routes redistributed from RIP by its EIGRP neighbor as primary routes and those advertised by its RIP neighbor as secondary?
Thanks.
Chang
03-14-2005 07:28 AM
On the router that is redistributing the RIP routes in EIGRP, use the command:
router eigrp 1234
redistribute rip metric
Adjust the metric value to make the routes more attractive than those advertised directly.
Preferably, under the "router rip" config section of the router that is performing redistrubution,
use the "passive-interface" command to stop the router sending RIP updates to its neighbour down the connecting interface.
03-14-2005 09:57 AM
The thing that makes this a bit tricky is that the deciding factor in this question is not the metric but is the administrative distance of the routes. Before the router compares metrics to select the best route it will evaluate the administrative distance and if one route has a better administrative distance than the other the router will not bother to evaluate the metric.
Usually we think of administrative distance of EIGRP as being 90, which is better than the administrative distance of RIP which is 120. However the 90 distance of EIGRP is for internal routes while the administrative distance of EIGRP external routes (redistributed routes) is 170.
So normally is a router learns a route from RIP and learns that same route via EIGRP redistribution, in fact the RIP route will be preferred. If you want the EIGRP redistributed route to be preferred you will need to change its administrative distance. You can change the administrative distance using the command distance eigrp
HTH
Rick
08-14-2015 03:28 AM
Hello
Applys to RIP/Eigrp
Advertising router = 10.1.12.1
redistributed route - 1.1.1.0/24 ( ad170)
access-list 10 permit 1.1.1.0 0.0.0.255
router eigrp xx
distance 119 10.1.12.1 0.0.0.0 10
res
Paul
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