traceroute6

Updated: April 19, 2023

Print the route IPv6 packets take to the destination

Syntax:

traceroute6 [-dIlnrv] [-f firsthop] [-g gateway]
            [-m hoplimit] [-p port] [-q probes] [-s src]
            [-w waittime] target [datalen]

Runs on:

QNX Neutrino

Options:

-d
Enable debugging.
-f firsthop
Specify how many hops to skip in the trace.
-g gateway
Specify the intermediate gateway (traceroute6 uses the routing header).
-I
Use ICMP ECHO instead of UDP datagrams.
-l
(“el”) Print both the host hostnames and numeric addresses (normally, only hostnames are printed; or, if -n is specified, only numeric addresses).
-m hoplimit
Specify the maximum hoplimit.
-n
Don't resolve the numeric address to a hostname.
-p port
Set the UDP port number to port.
-q probes
Set the number of probes per hop count to probes.
-r
Bypass the normal routing tables and send directly to a host on an attached network. If the host isn't on a directly attached network, an error is returned. You can use this option to “ping” a local host through an interface that has no route through it (for example, after the interface was dropped by routed).
-s src
Use this source IPv6 address.
-v
Be verbose.
-w waittime
Specify the delay time between probes.
target
The destination hostname or IP number.
datalen
Increase the packet size by this amount. By default, the size is zero and no data is sent.

Description:

This utility prints the route that the IPv6 packets take to the destination. For more information, see traceroute.

Note: This utility needs to have the setuid (“set user ID”) bit set in its permissions. If you use mkefs, mketfs, mkifs, or mkqnx6fs on a Windows host to include this utility in an image, use the perms attribute to specify its permissions explicitly, and the uid and gid attributes to set the ownership correctly.

Exit status:

0
Successful completion.
Nonzero
An error occurred.