How does the ping command work by default?
How does the ping command work by default?
The ping command works by sending an ICMP Echo Request to a remote host and waiting to receive an ICMP Echo Response in return. This method is used to check the connectivity and measure the round-trip time between the source and the destination device.
"The ping and ping6 commands can be used to send an ICMP echo request to an IPv4 or IPv6 address, respectively." https://learning.lpi.org/en/learning-materials/102-500/109/109.3/109.3_02/#:~:text=The%20ping%20and%20ping6%20commands%20can%20be%20used%20to%20send%20an%20ICMP%20echo%20request%20to%20an%20IPv4%20or%20IPv6%20address%2C%20respectively.