The length of the fixed IP header is 20 bytes, because an IP packet is composed of two parts: header and data. The first 20 bytes of the header are what all IP packets must have, also known as Fixed header.
The operating environment of this article: windows7 system, DELL G3 computer
What is the length of the fixed ip header?
Fixed IP header length, unit is 20 bytes.
IP packet structure
An IP packet consists of header and data. The first 20 bytes of the header are required by all IP packets and are also called fixed headers. Following the fixed part of the header are some optional fields, the length of which is variable.
Related introduction:
TCP/IP (Transmission Control Protocol/Internet Protocol, Transmission Control Protocol/Internet Protocol) refers to the ability to realize information between multiple different networks Transport protocol suite. TCP/IP protocol not only refers to the two protocols TCP and IP, but refers to a protocol cluster composed of FTP, SMTP, TCP, UDP, IP and other protocols, just because in the TCP/IP protocol, the TCP protocol and IP protocol The most representative, so it is called TCP/IP protocol.
Features:
The TCP/IP protocol can develop rapidly and become a de facto standard because it just meets the needs of data communication around the world. It has the following characteristics:
(1) The protocol standard is completely open, can be used by users for free, and is independent of specific computer hardware and operating systems.
(2) It is independent of the network hardware system, can run on the wide area network, and is more suitable for the Internet.
(3) Network addresses are uniformly allocated, and each device and terminal in the network has a unique address.
(4) High-level protocol standardization can provide a variety of reliable network services.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the length of the fixed ip header?. For more information, please follow other related articles on the PHP Chinese website!