The IPv4 header Protocol field is 8 bits wide. Which values correspond to ICMP, TCP, and UDP?

Study for the Internet Protocol Version 4 Test. Use flashcards and multiple-choice questions, each with hints and explanations. Master the exam with confidence!

Multiple Choice

The IPv4 header Protocol field is 8 bits wide. Which values correspond to ICMP, TCP, and UDP?

Explanation:
The next-layer protocol is identified by an 8-bit Protocol field in the IPv4 header, with values assigned by IANA. For the most common transport protocols, the numbers are ICMP = 1, TCP = 6, and UDP = 17. Since the field is 8 bits wide, suggesting 16 bits is incorrect, and using ICMP = 0 or TCP = 5 does not match the standard assignments. So the correct mapping is 1 for ICMP, 6 for TCP, and 17 for UDP.

The next-layer protocol is identified by an 8-bit Protocol field in the IPv4 header, with values assigned by IANA. For the most common transport protocols, the numbers are ICMP = 1, TCP = 6, and UDP = 17. Since the field is 8 bits wide, suggesting 16 bits is incorrect, and using ICMP = 0 or TCP = 5 does not match the standard assignments. So the correct mapping is 1 for ICMP, 6 for TCP, and 17 for UDP.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy