We are given an IPv4 datagram with the following characteristics.
The source IP address is 22.214.171.1243 and destination is 126.96.36.199
Its data content is an unfragmented TCP message of 64 bytes (TCP header + data)
It has Type of Service value of 25, Identification of value 264, Time to Live of 254 (all decimal values)
It is disallowed from being fragmented in transmission and contains no options
We are going to calculate the value of the checksum field, step by step. Each answer is a 16-bit binary value, e.g. 1100111101010011.
As a first step, what is the value of the first 16 bits of the IP header?
The thing that I am confused about from this question is that how do we use the internet header length field to show that the data is 64 bytes long or 16 words(32 bit words) as the internet header length field is only 4 bits so it can only show up to 15 32 bit words?
Thanks in advance for any help