378 views
0 votes
0 votes

Data are transmitted over the Internet in datagrams, which are structured blocks of bits. Each datagram contains header information organized into a maximum of 14 different fields (specifying many things, including the source and destination addresses) and a data area that contains the actual data that are transmitted. One of the 14 header fields is the header length field (denoted by HLEN), which is specified by the protocol to be 4 bits long and that specifies the header length in terms of 32-bit blocks of bits. For example, if HLEN = 0110, the header is made up of six 32-bit blocks. Another of the 14 header fields is the 16-bit-long total length field (denoted by TOTAL LENGTH), which specifies the length in bits of the entire datagram, including both the header fields and the data area. The length of the data area is the total length of the datagram minus the length of the header.

a) The largest possible value of TOTAL LENGTH (which is 16 bits long) determines the maximum total length in octets (blocks of 8 bits) of an Internet datagram. What is this value?

b) The largest possible value of HLEN (which is 4 bits long) determines the maximum total header length in 32-bit blocks. What is this value? What is the maximum total header length in octets?

c) The minimum (and most common) header length is 20 octets. What is the maximum total length in octets of the data area of an Internet datagram?

d) How many different strings of octets in the data area can be transmitted if the header length is 20 octets and the total length is as long as possible?

Please log in or register to answer this question.

Related questions

1.3k
views
1 answers
1 votes
arnav1827 asked Mar 21, 2023
1,340 views
One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field ? ... delays It can be used to optimize throughput It can be used to prevent packet looping
733
views
1 answers
0 votes
iarnav asked Dec 1, 2018
733 views
Difference between Packet Vs Datagram Vs Frame?
1.2k
views
1 answers
1 votes
sh!va asked Feb 20, 2017
1,245 views
I. Datagram switching does not have set up and tear down phases. hence it is faster than virtual circuit approachII. Virtual circuit approach uses simple VC ID to ... I is correct but reason is wrongd) II is correct, but reason is wrong