Which of the following has an offset field that specifies the length of the header and data?

Which of the following has an offset field that specifies the length of the header and data?

Which of the following has an offset field that specifies the length of the header and data?

A.
IP Header

B.
UDP Header

C.
ICMP Header

D.
TCP Header



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Shadow

Shadow

“A” ECSAv8 pg. 63

Umbra

Umbra

D. TCP Header

TCP has the data offset field
http://www.networksorcery.com/enp/protocol/tcp.htm#Data%20Offset
Data Offset. 4 bits.
The number of 32-bit words in the TCP header. This indicates where the data begins. The length of the TCP header is always a multiple of 32 bits.

IP and ICMP don’t carry data. UDP has no offset field since it does hold options.

Mano

Mano

A.
Maybe the word offset is what is confusing here but:
TCP header has an offset which indicates the length of the header ALONE. i.e. it tells you where the data part starts.
IP header has a similar parameter (IHL) which tells you the length of the header. But then also has another field (bits 16-31) which tell you the total length of header + data i.e. total size of the IP packet.
Question asks for offset which specifies length of header and data.
Hence A.

Mano

Mano

and btw, ofcourse IP and ICMP packets carry data – everything that is passed from the stack above i.e TCP segments etc..