Multihop BGP session negotiates MSS 500 for its TCP connection. Observed this behaviour while working with a request reported that the BGP session for a set of bgp neighbors is showing 500 MSS.
The reported device has MPLSoUDP between these end systems, and the user reported this problem, concerned about the low MSS between these BGP peers.
When you observe a BGP connection with an MSS of 500, despite an interface with a default MTU of 1514 or more, it indicates a very significant reduction in the TCP segment size. This drastic decrease points to specific network conditions or configurations that are severely limiting the effective MTU. Here's a breakdown of the potential causes:
Key Factors Leading to a Low MSS:
BGP session with mss 1448 after mtu discovery is added on PE. root@CE4_RE> show system connections extensive Active Internet connections (including servers)Proto Recv-Q Send-Q Local Address Foreign Address (state)tcp4 5792 0 10.54.14.245.22 10.54.16.221.56735 ESTABLISHED sndsbcc: 0 sndsbmbcnt: 0 sndsbmbmax: 266432sndsblowat: 2048 sndsbhiwat: 33304 rcvsbcc: 5792 rcvsbmbcnt: 9216 rcvsbmbmax: 532864rcvsblowat: 1 rcvsbhiwat: 66608jnxinpflag: 4096 inprtblidx: 0 inpdefif: 0 iss: 172938861 sndup: 174305435 snduna: 174305435 sndnxt: 174305435 sndwnd: 66608 sndmax: 174305435 sndcwnd: 131070 sndssthresh: 1073725440 irs: 1687453678 rcvup: 687848160 rcvnxt: 687848160 rcvadv: 687908976 rcvwnd: 66608 rtt: 0 srtt: 20 rttv: 11 rxtcur: 1200 rxtshift: 0 rtseq: 174305399 rttmin: 1000 mss: 1448 jlocksmode: 1 flags: NODELAY REQ_SCALE RCVD_SCALE REQ_TSTMP RCVD_TSTMP SACK_PERMIT [0x20003e4]
Troubleshooting Steps:
An MSS of 500 is very low, and it will drastically reduce the throughput of your BGP sessions. Therefore, it is important to find the cause of the problem.
In this request configuration on the reported device was not using MTU discovery for the BGP peers reported.