cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
0
Helpful
4
Replies

Equal path costs

nourelrayes
Level 1
Level 1

Dear All,

If we have 2 or paths for the same destination and these 2 paths have equal cost, equal administrative distance........etc.

(the only difference between them is the next hop IP address)

which one will be added to the routing table?

1 Accepted Solution

Accepted Solutions

arianto.wibowo
Level 1
Level 1

hi,

both paths will be appear in routing table except if you use BGP.

cheers.

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Nour,

with the exception of BGP all other routing protocols and static routes allow to install up to 4 parallel paths (with same AD and metric) to a destination prefix without any explicit configuration.

With BGP an explicit configuration is needed under router bgp if both paths are eBGP.

If BGP paths are iBGP the capability to support both paths is release dependent and if supported require an explicit command under router bgp (the feature is called iBGP multipath).

Maximum number of parallel paths was once 6 paths now should be 8 paths in most IOS releases

Hope to help

Giuseppe

Hi quislar,

What if only one path is allowed to be added to the routing table.

Some refrences states that both routes will be added is this correct.

Hello Nour,

if you do or see the following

router ospf 10

maximum-paths 1

only one path will be installed but this is not default configuration that is maximum-paths 4

BGP is the exception because it defaults to:

router bgp 50

maximum-paths 1

Hope to help

Giuseppe

arianto.wibowo
Level 1
Level 1

hi,

both paths will be appear in routing table except if you use BGP.

cheers.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card