|
|
traceroute
Print the route packets take to network host.
SYNTAX
traceroute [options] host [packetsize]
OPTIONS
-d Turn on socket-level debugging.
-g addr Enable the IP LSRR (Loose Source Record Route) option in addition to the TTL tests, to ask how someone at IP address addr can reach a particular target.
-l Include the time-to-live value for each packet received.
-m max_ttl Set maximum time-to-live used in outgoing probe packets to max-ttl hops. Default is 30 hops.
-n Show numerical addresses; do not look up hostnames.
(Useful if DNS is not functioning properly.)
-p port Set base UDP port number used for probe packets to port.
Default is (decimal) 33434.
-q n Set number of probe packets for each time-to-live setting to the value n.
Default is 3.
-r Bypass normal routing tables and send directly to a host on an
attached network.
-s src_addr
Use src_addr as the IP address that will serve as the source address
in outgoing probe packets.
-t tos Set the type-of-service in probe packets to tos (default 0).
The value must be a decimal integer in the range 0 to 255.
-v Verbose—received ICMP packets (other than TIME_EXCEEDED and PORT_UNREACHABLE)
will be listed.
-w wait Set time to wait for a response to an outgoing probe packet to wait
seconds (default is 3 seconds).
"The Net interprets censorship as damage and routes around
it" - John
Gilmore
Related commands:
netstat(1)
ping(8)
route - manipulate routing tables
Equivalent Windows NT commands:
tracert - Trace Route