Reference

inetutils-traceroute(1)

trace the route to a host

NAME

traceroute – trace the route to a host

SYNOPSIS

traceroute [option ...] host

DESCRIPTION

Print the route packets trace to network host.

OPTIONS

-f, --first-hop=start

Set the initial hop distance, that is the time-to-live.

-g, --gateways=gates

List of gateways for loose source routing.

-I, --icmp

Use ICMP ECHO as probe.

-m, --max-hop=num

Set the maximal hop count (default is 64).

-M, --type=method

Use the method (icmp or the default udp) for traceroute operations.

-p, --port=port

Use the destination port port (default is 33434).

-q, --tries=num

Send num probe packets per hop (default is 3).

--resolve-hostnames

Resolve hostnames.

-t, --tos=class

Set the type of service (TOS) to class.

-w, --wait=timeout

Wait timeout seconds for responses (default is 3).

?, --help

Give this help list.

--usage

Give a short usage message.

-V, --version

Print program version.

History

--first-hop since Debian 8 (Jessie); --gateways since Debian 8 (Jessie); --icmp since Debian 8 (Jessie); --max-hop since Debian 8 (Jessie); --tos since Debian 8 (Jessie); --wait since Debian 8 (Jessie); -I since Debian 8 (Jessie); -f since Debian 8 (Jessie); -g since Debian 8 (Jessie); -m since Debian 8 (Jessie); -t since Debian 8 (Jessie); -w since Debian 8 (Jessie).

--help until Debian 10 (Buster); -? until Debian 10 (Buster).