TCP does not cause IP fragmentation, while UDP and ICMP will cause IP fragmentation.

Source: Internet
Author: User

TCP will not cause IP sharding, while UDP and ICMP will cause IP sharding. Why does TCP not cause IP sharding? The reason is that TCP itself supports segmentation: when TCP needs to transmit data with a length greater than the MSS (Maxitum Segment Size), it first segments the data. Normally, the MSS is smaller than the MTU. Therefore, TCP generally does not cause IP fragmentation. UDP and ICMP do not support this segmentation function. UDP and ICMP believe that the network layer can transmit data with an infinite length (in fact there is a 65535 limit). When the two Protocols send data, regardless of the Data Length, they only add UDP or ICMP headers to their headers, and then directly deliver them to the network layer. Then, the IP protocol at the network layer splits the data with long headers and short headers. Do not expect the IP address to intelligently identify where the data is sent to it, and where the load is, it will directly cut the entire data into N parts. The result is that only the first part has the UDP or ICMP header, while other parts do not. For details, see:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.