Skip to content

Commit

Permalink
bgpd: Reduce the default connect retry timer to 30 seconds
Browse files Browse the repository at this point in the history
RFC 4271 recommends this 120 seconds, but most of the implementations use 60.

For a datacenter profile we set it to 10 seconds.

Let's roll with 30 and increase up to the maximum 120.

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Dec 11, 2024
1 parent ef4a921 commit 44f4a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@ struct bgp_nlri {
*/
#define BGP_DEFAULT_HOLDTIME 180
#define BGP_DEFAULT_KEEPALIVE 60
#define BGP_DEFAULT_CONNECT_RETRY 120
#define BGP_DEFAULT_CONNECT_RETRY 30

#define BGP_DEFAULT_EBGP_ROUTEADV 0
#define BGP_DEFAULT_IBGP_ROUTEADV 0
Expand Down

0 comments on commit 44f4a8e

Please sign in to comment.