IP Packet Struture2
IP Packet Struture2
What is IP header?
IP Header is meta information at the beginning of an IP packet. It displays
information such as the IP version, the packet's length, the source, and the
destination.
IP header format
Version: The first IP header field is a 4-bit version indicator. In IPv4, the value
of its four bits is set to 0100, which indicates 4 in binary. However, if the
router does not support the specified version, this packet will be dropped.
Internet Header Length: Internet header length, shortly known as IHL, is 4
bits in size. It is also called HELEN (Header Length). This IP component is
used to show how many 32-bit words are present in the header.
Type of Service: Type of Service is also called Differentiated Services Code
Point or DSCP. This field is provided features related to the quality of service
for data streaming or VoIP calls. The first 3 bits are the priority bits. It is also
used for specifying how you can handle Datagram.
Total length: The total length is measured in bytes. The minimum size of an
IP datagram is 20 bytes and the maximum, it can be 65535 bytes . HELEN and
Total length can be used to calculate the dimension of the payload.