System Administration Guide, Volume 3

traceroute(1M)

You can use the traceroute command to trace both the IPv4 and IPv6 routes to a given host. As to which protocol to use, traceroute uses the same algorithm as ping. Use the -A command-line option to override this selection. You can trace each individual route to every address of a multihomed host by using the -a command-line option. See the traceroute(1M) man page for details.