

The following are the possible values for the precedence.ĭelay (bit 4) – Normal Delay – 0, No Delay -1 The higher priority packet will pass first. Precedence means the priority of an IP packet in case there is a high load in a network. Precedence –The first three bits are for precedence. The type of service is an 8 bits header field, each bit has a meaning for quality of service. With Quality of service, a network may choose how to handle the packets. The type of service in the Ip header is for controlling the quality of service of Internet Protocol packet traffic. So that header can be stripped off and data can be passed to the user.

Ip layer, use the length, to get the start of user data. Because the length of the header may vary, the actual length depends on the presence or absence of the optional parameters. If we calculate in terms of bytes, then the IP header length is 20 bytes minimum. Length is in 32-bit words the minimum value is 5. The 4 bits in size, specify the length of the IP header. Initially, version 4 was developed now we also have IPv6 implementation available. To adopt the network changes there could be various versions of IP protocol. Soon this address space will be insufficient with the increasing number of new machines in the network. Initially, the address started with a length of 32 bits. Along with the routing, the role of IP is to assign the IP addresses to a machine. We can also call it the Internet Protocol version.
