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?
Correct Answer :
RIP
Solution :
The correct option is RIP.
Explanation:
The 8-bit Protocol field in the IPv4 header is used to identify the next-level protocol to which the IP payload (the data portion of the datagram) should be delivered. For a protocol to be a candidate for X, it must run directly on top of the Internet Protocol (IP) and have an assigned protocol number in this header field.
Let us analyze the encapsulation of each protocol option:
1. ICMP (Internet Control Message Protocol): ICMP operates directly over IP. ICMP messages are encapsulated directly within IPv4 datagrams, with the Protocol field set to 1.
2. IGMP (Internet Group Management Protocol): IGMP also operates directly over IP. IGMP messages are encapsulated directly within IPv4 datagrams, with the Protocol field set to 2.
3. OSPF (Open Shortest Path First): OSPF is a routing protocol designed to run directly over IP without using transport layer protocols like TCP or UDP. OSPF packets are encapsulated directly in IP datagrams, with the Protocol field set to 89.
4. RIP (Routing Information Protocol): RIP is an application-layer routing protocol that relies on the User Datagram Protocol (UDP) at the transport layer (specifically using port 520). RIP messages are first encapsulated within UDP segments, which are then encapsulated within IP datagrams. As a result, the Protocol field of the IPv4 header contains the value 17 (which represents UDP), not a protocol number for RIP itself.
Therefore, RIP is NOT a possible direct candidate for the IPv4 header's Protocol field.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.