133k views
4 votes
the first few hexadecimal digits of an ip datagram are as follows: 4e00 00b4 0034 408f. find the total length, the header length and the data size. is there the next fragment? can this datagram be fragmented?

1 Answer

5 votes

Final answer:

The first two hexadecimal digits in the IP datagram represent the version and Internet Header Length (IHL).

The total length is 180 bytes and the header length is 56 bytes.

The Data Size is 124 bytes. The datagram is not fragmented.

Step-by-step explanation:

An ip datagram are as follows: 4e00 00b4 0034 408f. For this datagram :

The first two hexadecimal digits in the IP datagram represent the Version and Internet Header Length (IHL).

In this case, the first two digits '4e' indicate that the version is IPv4 and the IHL is 14 (which means the header length is 14 x 4 = 56 bytes).

The next two hexadecimal digits '00' represent the Type of Service (TOS), which is the quality of service requested by the sender. The next four hexadecimal digits '00b4' represent the Total Length of the datagram, which is 180 bytes in decimal.

The next four hexadecimal digits '0034' represent the Identification field, which uniquely identifies the datagram.

The next four hexadecimal digits '408f' represent the Flags and Fragment Offset fields. The '408f' value means that there are no more fragments and the datagram is not fragmented.

To find the Data Size, subtract the Header Length (56 bytes) from the Total Length (180 bytes), which equals 124 bytes.

User Grzzzzzzzzzzzzz
by
8.7k points