Back to search

traceroute

command network

Trace the route packets take to a network host

Required Packages

sudo apt install -y traceroute

Options

Hostname or IP address to trace

Show IP addresses instead of hostnames

Maximum number of hops (default: 30)

Start from this TTL instead of 1

Max wait time for response in seconds (default: 5.0)

Number of probe packets per hop (default: 3)

Destination port (TCP default: 80, UDP default: 33434)

Network interface to use

Do not fragment probe packets

Generated Command

sudo traceroute