Got it

TCP MSS

Created: Dec 6, 2020 16:57:29Latest reply: Dec 6, 2020 17:03:01 360 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,


Why to change TCP MSS?

Featured Answers
Herediano
Created Dec 6, 2020 17:03:01

Hi,

Data is encapsulated at the transport layer and then sent to the network layer. Upon receiving the IP data, the network layer determines the interface to which it sends data and obtains the MTU of the interface. If the data packet length is greater than the MTU, the network layer fragments the data packet, encapsulates the fragments into an IP data packet, and then sends the IP data packet to the link layer. If fragmentation is not performed, packet loss occurs because the length of the data packet is greater than the MTU of the link layer.

If the path MTU is unavailable on one end of a TCP connection, this end cannot adjust the TCP packet size based on the MTU. As a result, this end may send TCP packets that are longer than the MTUs on intermediate devices, which will discard these packets. To prevent this problem, decrease the TCP-MSS value on either end of a TCP connection or on the intermediate device. Then the MSS value negotiated by both ends will not exceed this maximum MSS value, and accordingly TCP packets sent from both ends will not be longer than this maximum MSS value and can travel through the intermediate network.

Hope it helps!
View more
  • x
  • convention:

user_3906793
user_3906793 Created Dec 6, 2020 17:07:20 (0) (0)
Awesome, thanks  
Herediano
Herediano Reply user_3906793  Created Dec 7, 2020 16:21:51 (0) (0)
 
All Answers
Hi,

Data is encapsulated at the transport layer and then sent to the network layer. Upon receiving the IP data, the network layer determines the interface to which it sends data and obtains the MTU of the interface. If the data packet length is greater than the MTU, the network layer fragments the data packet, encapsulates the fragments into an IP data packet, and then sends the IP data packet to the link layer. If fragmentation is not performed, packet loss occurs because the length of the data packet is greater than the MTU of the link layer.

If the path MTU is unavailable on one end of a TCP connection, this end cannot adjust the TCP packet size based on the MTU. As a result, this end may send TCP packets that are longer than the MTUs on intermediate devices, which will discard these packets. To prevent this problem, decrease the TCP-MSS value on either end of a TCP connection or on the intermediate device. Then the MSS value negotiated by both ends will not exceed this maximum MSS value, and accordingly TCP packets sent from both ends will not be longer than this maximum MSS value and can travel through the intermediate network.

Hope it helps!
View more
  • x
  • convention:

user_3906793
user_3906793 Created Dec 6, 2020 17:07:20 (0) (0)
Awesome, thanks  
Herediano
Herediano Reply user_3906793  Created Dec 7, 2020 16:21:51 (0) (0)
 

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.