cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
276
Views
0
Helpful
3
Replies

Re: BGP peering with secondary IP

Chetra
Level 1
Level 1

Hello,

I'm running BGP on a Cisco router using a sub-interface that has both a primary and a secondary IP address.
My BGP peer is configured to connect using the secondary IP, and I'm using the update-source command with the sub-interface.
The BGP session successfully establishes the first time using the secondary IP. However, after performing a shutdown and no shutdown on the sub-interface, the BGP session becomes stuck in the Active state and does not re-establish.

Thank you in advance, 
Chetra 

3 Replies 3

Torbjørn
VIP
VIP

Hello @Chetra, welcome to the community! 

This should work fine. BGP is "just" a TCP service and should be able to reestablish the adjacency to any assigned IP without issue. Which software version are you running?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

M02@rt37
VIP
VIP

Hello @Chetra 

If it is iBGP peerig, consider to use Loopback as update-source

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

If I am understanding the OP correctly the configuration changes were done to configure BGP using an address on a secondary address of a subinterface, the BGP session establishes correctly, then a shut/no shut on the subinterface, and the BGP session did not come back up. My first comment is that shut/no shut on a subinterface surprises me. Shut on a physical interface stops all activity on the interface, I am not so clear about what happens when it is on a subinterface. My first question is whether there are connected devices on that subnet, and if so were they able to communicate after the shut/no shut? My second question is whether we can see some of the details of the configuration of the interface/subinterface and routing information.

HTH

Rick