cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1006
Views
10
Helpful
3
Replies

Selecting EIGRP route over RIP for same destination

ericchan2004
Level 1
Level 1

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

3 Replies 3

davekbell
Level 1
Level 1

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.

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 . So for example could configure the router with distance eigrp 90 95 and it would make the redistributed route more attractive than the RIP route.

HTH

Rick

HTH

Rick

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


 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul