Skip to main content

GATE CSE 2025Computer Networks › Network Layer, Routing & IP AddressingVerified

GATE CSE 2025 PYQ: ​​​A machine receives an I P v 4 IPv4 I P v 4 datagram. The protocol field of the I P v 4 IPv4 I P v 4…

​​​A machine receives an IPv4IPv4 datagram. The protocol field of the IPv4IPv4 header has the protocol number of a protocol XX.

Which ONE of the following is NOT a possible candidate for XX?
  1. A
    Internet Control Message Protocol (ICMP)
  2. B
    Internet Group Management (IGMP)
  3. C
    Open Shortest Path First (OSPF)
  4. D
    Routing Information Protocol (RIP)
    Correct answer

Answer

(D) Routing Information Protocol (RIP)

Approach

The IPv4 header's Protocol field identifies the protocol whose payload is carried directly inside the IP datagram (the next-level protocol). A candidate for X must therefore be a protocol that IP encapsulates directly, not one that is carried inside another transport protocol. Check each option's actual IP encapsulation.

Only RIP is not directly identified by an IPv4 Protocol field number because it is encapsulated inside UDP; ICMP, IGMP and OSPF all have their own direct IPv4 Protocol numbers (1, 2, 89). Therefore the answer is D.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.