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 protocol of the payload being carried by the packet?
- A$\text{ICMP}$
- B$\text{SCTP}$
- C$\text{TCP}$ protocolCorrect answer
- D$\text{IGMP}$
Answer
(C) $\text{TCP}$ protocol
Approach
Parse the IPv4 header bytes and read the protocol field at byte 9.
Reviewed by UGC IQ Editorial Team.