Skip to content

UGC NET CS 2023Data Communication and Computer Networks › Functions of OSI and TCP/IP LayersVerified

UGC NET CS 2023 PYQ: IP datagram has arrived with following partial information in the header (in hexadecimal)…

IP datagram has arrived with following partial information in the header (in hexadecimal)

$45000054000300002006 \ldots .$.

What is the header size?

  1. A
    10 bytes
  2. B
    20 bytes
    Correct answer
  3. C
    30 bytes
  4. D
    40 bytes

Answer

(B) 20 bytes

Approach

Read the IHL nibble of the first IPv4 header byte and multiply by 4.

Reviewed by UGC IQ Editorial Team.