cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
502
Views
0
Helpful
5
Replies

BGP router only shows one available path to an external IP

amarjeets
Level 1
Level 1

Hey guys,

So in our network, we have 2 BGP routers connected to 2 ISPs, say R1 connected to ISP1 and R2 connected to ISP2. Now, we have enabled redundancy using HSRP, and when we check available paths to any external Ip from R1 using

sh ip bgp 8.8.8.8

it shows only one available path while when I check from R2 using same command, it shows 2 available paths. What can be the reason that R1 is learning only one path?

We are trying to optimize bandwidths as ISP1 has bandwidth of 1Gbps and ISP2 has bandwidth of 100Mbps, we want to use ISP1 primarily and ISP2 as failover.

Sorry I am not an expert but your insights will be highly valuable.

2 Accepted Solutions

Accepted Solutions

That normal' 

Two edge routers there is ibgp between' so one have ebgp as best path other have ebgp and ibgp and I think it select ibgp as best path.

That normal.

MHM

View solution in original post

It does but bgp is so slow protocol' you can add bfd to your ibgp and the failover will faster.

View solution in original post

5 Replies 5

That normal' 

Two edge routers there is ibgp between' so one have ebgp as best path other have ebgp and ibgp and I think it select ibgp as best path.

That normal.

MHM

and can you also suggest what i can do to configure failover properly, as when our primary link fails, router doesnt failovers to secondary link automatically.

bgp always-compare-med
no bgp enforce-first-as
bgp log-neighbor-changes
bgp deterministic-med
bgp graceful-restart
bgp bestpath as-path multipath-relax
neighbor x.x.x.x ebgp-multihop 2
bgp additional-paths install
ip bgp-community new-format

This is part of my bgp config on R1

It does but bgp is so slow protocol' you can add bfd to your ibgp and the failover will faster.

Thank you so much 

Joseph W. Doherty
Hall of Fame
Hall of Fame

Could you clarify how you're using HSRP and BGP together?

Both your BGP routers are taking full Internet route tables from their respective ISPs and they also exchanges these, between themselves, using iBGP?

While waiting for answers to the forgoing, Cisco's BGP, by default, will use only one path, but when you have eBGP and iBGP, and two eBGP paths appear equal, the eBGP path will be taken vs. the iBGP path.

Review Cisco Networking for a $25 gift card