As of LCOS version 8.80, you can use the command ping -6(or the alias ping6) to send an ICMP ECHO_REQUEST to a host on an IPv6 network.
For IPv6, the scope of parameters is of central importance: IPv6 requires a link-local address (fe80::/10) to be assigned to every network interface (logical or physical) on which the IPv6 protocol is enabled, so you must specify the scope when pinging a link-local address. This is the only way that the ping command knows which interface it should send the package to. A percent sign (%) separates the name of the interface from the IPv6 address.
Examples:
- ping -6 fe80::1%INTRANET
- Pings the link-local address "fe80::1", which can be reached via the interface or network "INTRANET".
- ping -6 2001:db8::1
- Pings the global IPv6 address '2001:db8::1".
The meaning of the optional parameters is explained in the following table:
Parameters | Meaning |
---|---|
-6 <IPv6 address>%<scope> | Performs a ping command to the link-local address via the interface specified by <scope>. |