cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1708
Views
0
Helpful
2
Replies

EIGRP- Equal Cost Paths Selection

sadik.bash
Level 1
Level 1

Hello,

This might be a simple question; using EIGRP and having 2 equal cost paths to the destination; how does the router/L3 switch route select the path from those two equal cost paths? Is there a way to force one path over anthoer?

Thanks in advance.

Best, ~sK       

2 Accepted Solutions

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

To answer your question we need to be clear that there are 2 parts to the decision about which path will be used to forward traffic. The first part is the identification of paths and their insertion into the routing table. This is the part where EIGRP plays a role. If EIGRP determines that there are two equal cost viable paths then both of the paths will be put into the routing table. This ends EIGRP involvement in the process. The part of the process that takes a particular packet and determines which path to use is handled by CEF. By default CEF looks at the number of available paths toward a destination and when there are multiple paths CEF will use a process that calculates based on source and destination address to choose a particular path. For the same source address and same destination address CEF should choose the same path every time.

HTH

Rick

HTH

Rick

View solution in original post

Jon Marshall
Hall of Fame
Hall of Fame

As Rick has said CEF does the actual forwarding and it will alternate between the two paths on a per destination basis.

As to how to prefer one path over the other, once they are both in the routing table you can't really. You could use PBR but then you are simply overriding the routing table rather than preferring one route over the other. The only way to prefer one path would be to make sure only one route is inserted into the routing table and how easy that would be depends on whether the two paths are received from the same neighbor or not. If they are then it would not be possible to distinguish between the two routes (as they are the same obviously) .

Jon

View solution in original post

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

To answer your question we need to be clear that there are 2 parts to the decision about which path will be used to forward traffic. The first part is the identification of paths and their insertion into the routing table. This is the part where EIGRP plays a role. If EIGRP determines that there are two equal cost viable paths then both of the paths will be put into the routing table. This ends EIGRP involvement in the process. The part of the process that takes a particular packet and determines which path to use is handled by CEF. By default CEF looks at the number of available paths toward a destination and when there are multiple paths CEF will use a process that calculates based on source and destination address to choose a particular path. For the same source address and same destination address CEF should choose the same path every time.

HTH

Rick

HTH

Rick

Jon Marshall
Hall of Fame
Hall of Fame

As Rick has said CEF does the actual forwarding and it will alternate between the two paths on a per destination basis.

As to how to prefer one path over the other, once they are both in the routing table you can't really. You could use PBR but then you are simply overriding the routing table rather than preferring one route over the other. The only way to prefer one path would be to make sure only one route is inserted into the routing table and how easy that would be depends on whether the two paths are received from the same neighbor or not. If they are then it would not be possible to distinguish between the two routes (as they are the same obviously) .

Jon

Review Cisco Networking products for a $25 gift card