GateAI
IPv4, CIDR and NAT

GATE CSE 2025 Set 2 · Q18

MCQ1 markEasy

Time

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?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) Routing Information Protocol (RIP)

IPv4, CIDR and NAT

The 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 11.

  • IGMP (Internet Group Management Protocol): Encapsulated directly in IPv4 datagrams with IP protocol number 22.

  • OSPF (Open Shortest Path First): Encapsulated directly in IPv4 datagrams with IP protocol number 8989.

  • 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 (1717), 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.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

IPv4, CIDR and NAT in GATE CSE

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 NAT

More from GATE CSE 2025 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 2 · Q18 · MCQ

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

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.