Getting Started with IP protocols

Source: Internet
Author: User

Crossing, please give me more advice.

IP protocol, Interner Protocol, Internet Protocol, provides three-layer addressing and three-layer communication capabilities.

Grab the package as follows:

Summary of content:

Content analysis:
1, Version: Used to identify the IP protocol version number, Ipv4/ipv6
2, the first length (headers length): Identifies the length of the IP header, the minimum length is 20 bytes, the maximum length is 60 bytes;
3. Service type (Differentiated Services Field): DHCP, which performs QoS functions to classify service categories and prioritize services.
--Minimize delay #最小延迟
0100--Maximize throughput #最大吞吐量
0010--Maximize reliability #最高可靠性
0001--Minimize monetary cost #最小费用
0000--Normal service #一般服务
4, total length: The total length of the IP packet, the maximum length is 65,535 bytes;
5, identification (identification): 16 bits, for the Shard Reload
6, Flag (Flags): RB+DF+MF Total 3 people

RB This bit doesn't matter, ignore.
Df:don ' t fragment, do not Shard, df=1 is not Shard, and vice versa.
Mf:more fragment, more shards, mf=1 that the slice is not the last piece of the packet, can still be fragmented, and vice versa.
7, chip offset (Fragment offset): 13 bits, in the reload of the data required to provide the field offset
8. TTL lifetime (Time to Live): Default maximum ttl=255, after a router lifetime-1, anti-ring
9, Protocol number (PROTOCOL), used to identify the upper application
10, head Check and (header Checksum): To achieve data integrity check, parity algorithm
11+12, source IP address: Used to identify recipients and senders

Getting Started with IP protocols

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.