Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP Neighbor is the HSRP address. Will not establish peer connection

I am trying to join two LAN systems together using BGP over fibre. Don't ask me why I am using BGP. I have to as part of the design.

Both systems have two 6509 running HSRP. I can get them to exchange routing tables when configured with eigrp but when it comes to getting BGP to talk I am having big problems.

configs

building 1 router 1 & 2

router bgp 100

network 10.0.0.0

neighbor 30.0.0.254 remote-as 200

**** 30.0.0.254 is the HSRP address of the other system

building 2 router 1 & 2

router bgp 200

network 40.0.0.0

neighbor 20.0.0.254 remote-as 100

**** 20.0.0.254 is the HSRP address of the other system

I can get them to talk when I use a physical address for the neighbor but when it comes to HSRP it's no go.

I think it will not work but need clarification or a work-around

Regards

Barry

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: BGP Neighbor is the HSRP address. Will not establish peer co

There are many reasons why this won't work. BGP is using TCP, and you'd need a stateful failover which is not part of HSRP. BGP also knows what the other side's IP address should be based on the config, and that is probably not the case.

Anyhow ... the solution...

Use ebgp-multihop in your bgp configuration, and peer BGP to the loopback address. That is how you will take advantage of HSRP redundancy.

If you want full BGP redundancy, then I suggest iBGP sessions between the routers in each of AS 100 and AS200. The you can do EBGP "inter-building" for the respective routers.

Hope that helps

Arto

1 REPLY
New Member

Re: BGP Neighbor is the HSRP address. Will not establish peer co

There are many reasons why this won't work. BGP is using TCP, and you'd need a stateful failover which is not part of HSRP. BGP also knows what the other side's IP address should be based on the config, and that is probably not the case.

Anyhow ... the solution...

Use ebgp-multihop in your bgp configuration, and peer BGP to the loopback address. That is how you will take advantage of HSRP redundancy.

If you want full BGP redundancy, then I suggest iBGP sessions between the routers in each of AS 100 and AS200. The you can do EBGP "inter-building" for the respective routers.

Hope that helps

Arto

350
Views
0
Helpful
1
Replies