BGP Peering with HSRP Virtual Address

Unanswered Question
Nov 23rd, 2007

Are there any caveats associated when peering in BGP with an HSRP virtual address?

I have a national ethernet circuit which terminates on a layer 2 switchport. The vlan of this switchport is then trunked to 2 Layer 3 gateway routers running HSRP between them for resiliency.

I want to set up eBGP between the CE on one end of the link and the PE routers at the other end.

Is it possible for the CE to peer with the HSRP virtual address? I'm hoping that whichever PE router is the active router for the standby group will peer with the CE and in the event of a PE router failure, the standby router will take up the responsibility of peering with the CE.

Thoughts anyone?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
royalblues Fri, 11/23/2007 - 13:10

You cannot peer with the HSRP virtual address

The TCP packets for BGP peering is allowed to source only from an interface, not from a virtual address.

You may be able to configure the neighbor pointing to the HSRP address but the remote connection will be refused since it will be sending the packet from an invalid IP address.



Harold Ritter Wed, 11/28/2007 - 10:41


It is actually possible to run BGP session to the VIP address. This might require to configure the HSRP routers to passively accept the BGP session (nei x.x.x.x transport connection-mode passive".

Bear in mind that the convergence will be slower than if you had a BGP session between the CE and both PEs since the BGP session will need to reinitialize when a fail over occurs.


AJAZ NAWAZ Thu, 12/31/2015 - 03:41

implementing aggressive timers would minimise failover period required for reconvergence.

good shout harold !


This Discussion