Which of the following describes the Linux ping packet or datagram?

Which of the following describes the Linux ping packet or datagram?

Which of the following describes the Linux ping packet or datagram?

A.
IP packet with a packet type

B.
ICMP packet with a message type

C.
ICMP packet with a payload

D.
UDP datagram with a protocol type

E.
UDP datagram with a payload

Explanation:
From the man pages:
ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams (“pings”) have an IP and ICMP header, followed by a struct timeval and then an arbitrary number of “pad” bytes used to fill out the packet.



Leave a Reply 0

Your email address will not be published. Required fields are marked *