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 ?
- A.
4 bits
- B.
8 bits
- C.
16 bits
- D.
32 bits
Attempted by 815 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.
Loading lesson…