A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X. Which ONE of the following is NOT a possible candidate for X?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2025 Set 2 · Q18
Time
Select one answerSingle correct
Solution
Official answer: D) Routing Information Protocol (RIP)
IPv4, CIDR and NATThe 8-bit Protocol field in the IPv4 header indicates the higher-layer or next-level protocol whose payload is encapsulated directly within the IPv4 datagram.
ICMP (Internet Control Message Protocol): Encapsulated directly in IPv4 datagrams with IP protocol number .
IGMP (Internet Group Management Protocol): Encapsulated directly in IPv4 datagrams with IP protocol number .
OSPF (Open Shortest Path First): Encapsulated directly in IPv4 datagrams with IP protocol number .
RIP (Routing Information Protocol): Operates on top of the UDP transport layer protocol (using UDP port 520). Therefore, the Protocol field of an IPv4 datagram carrying RIP packets contains the protocol number for UDP (), not RIP.
Thus, RIP cannot be directly specified in the IPv4 header's Protocol field, making D the correct option.
Try the question first, then check your work.
Examiner trap
Consider which of these routing or control protocols runs on top of UDP rather than being encapsulated directly inside an IP datagram.
This IPv4, CIDR and NAT previous year question is Q18 of the GATE CSE 2025 Set 2 paper. Find more GATE CSE PYQs on IPv4, CIDR and NAT in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related IPv4, CIDR and NAT PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
IPv4, CIDR and NAT has 14 GATE CSE PYQs across 10 papers from 2012 to 2025. 5 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2025 Set 2.
How GATE tests IPv4, CIDR and NATIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.