![Forrest logo](/images/logo.png)
ping6:tldr:5e04e
The "ping6" command is used to send an Internet Control Message Protocol version 6 (ICMPv6) Echo Request message to a specified host and wait for the corresponding Echo Reply. ICMPv6 is a network protocol used for diagnostic and troubleshooting purposes in IPv6 networks.
In the provided command, "${host}" is a placeholder for the actual hostname or IPv6 address of the destination host that you want to ping. You need to replace "${host}" with the desired destination address.
For example, if you want to ping the IPv6 address "2001:0db8:85a3:0000:0000:8a2e:0370:7334", the command would be: ping6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
When you execute the command, the ping6 utility will send ICMPv6 Echo Request messages to the specified host. If the host is reachable and responsive, it will reply with an ICMPv6 Echo Reply message. The ping6 command will then display information such as the round-trip time (RTT) for each echoed message, packet loss percentage, and other statistical information.
The ping6 command is often used to check network connectivity and measure the latency (network delay) between the source and destination hosts in IPv6 networks.