What is the length of the checksum field of IPv4 header?
-
4-bit
-
16-bit
-
6-bit
-
8-bit
-
10-bit
B
Correct answer
Explanation
The 16-bit checksum field is used for error-checking of the header. When a packet arrives at a router, the router calculates the checksum of the header and compares it to the checksum field. If the values do not match, the router discards the packet. Errors in the data field must be handled by the encapsulated protocol. Both UDP and TCP have checksum fields.