What is the size of the 'total length' field in 𝐼𝑃𝑣4 diagram ?

2015

What is the size of the 'total length' field in 𝐼𝑃𝑣4Β diagram ?

  1. A.

    4Β bits

  2. B.

    8Β bits

  3. C.

    16Β bits

  4. D.

    32Β bits

Attempted by 726 students.

Show answer & explanation

Correct answer: C

Answer: 16 bits

Explanation: The Total Length field in the IPv4 header is 16 bits (2 bytes). It indicates the length of the entire IP packet, including the header and payload, measured in bytes.

Maximum value: 65535 bytes (range 0 to 65535).

  • Why other sizes are incorrect:

  • 4 bits: used for the Version and Internet Header Length (IHL) fields.

  • 8 bits: used for the Type of Service (DSCP+ECN) field.

  • 32 bits: size of an IPv4 address (source or destination), not the Total Length field.

Explore the full course: Mppsc Assistant Professor