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?
Solution :
The correct option is Routing Information Protocol (RIP).
Reasoning:
The "Protocol" field in the IPv4 header is an 8-bit field that identifies the protocol used in the data portion of the IP datagram. This allows the receiving network layer to correctly route the payload to the appropriate protocol helper in the upper layers.
Let us examine the encapsulation structure of the protocols listed in the options:
• Internet Control Message Protocol (ICMP): ICMP messages are encapsulated directly inside IPv4 datagrams. The protocol field in the IPv4 header is set to 1.
• Internet Group Management Protocol (IGMP): IGMP operates directly over IP. The protocol field in the IPv4 header is set to 2.
• Open Shortest Path First (OSPF): OSPF is a routing protocol that operates directly over IP without using a transport layer protocol like TCP or UDP. The protocol field in the IPv4 header is set to 89.
• Routing Information Protocol (RIP): Unlike OSPF, RIP is an application-level routing protocol. It relies on the User Datagram Protocol (UDP) for transport, communicating over UDP port 520. Therefore, a RIP message is encapsulated in a UDP segment, which is then encapsulated in an IP datagram. As a result, the protocol field in the IPv4 header for a packet carrying RIP data will contain the protocol number for UDP (which is 17), not a protocol number representing RIP.
Consequently, RIP is NOT a possible candidate for the protocol number X directly in the IPv4 header.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.