GATE | Sudo GATE 2020 Mock I (27 December 2019) | Question 58

Which of the following statement(s) is/are correct regarding IPv4 Header.

  1. The maximum possible value of time to live (TTL) in IPv4 is 256.
  2. The maximum value of fragment offset is 65,535.
  3. The maximum number of IPv4 router address addresses that can be listed in the record route (RR) option field is 38.

(A) 1 and 2 only
(B) 1 and 3 only
(C) 2 and 3 only
(D) None of these.


Answer: (D)

Explanation: In IPv4 Header,
The maximum possible value of time to live (TTL) in IPv4 is 255.

The maximum value of fragment offset is 65,528.



In IPv4 frame format there are 40 bytes of option field, out of which only 38 bytes can be used, 2 bytes are reserved . Also one IPv4 address is of 4 bytes. Thus maximum IPv4 address that can be hold <= 38/4 = 9. So, none statements are correct. Option (D) is true.

Quiz of this Question



My Personal Notes arrow_drop_up
Article Tags :

1


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.