From 44f4a8ec4049c54e8d25465a735174bd0f15f81e Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 5 Dec 2024 10:18:02 +0200 Subject: [PATCH] bgpd: Reduce the default connect retry timer to 30 seconds 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 --- bgpd/bgpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index bb56fd355a05..fafd20711042 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -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