~/Traceroute Command Detailed Guide

Mar 14, 2019


Traceroute shows the path packets take to reach a host across an IP network. It reveals each hop, measures latency, and diagnoses routing problems. Learn more here.

How traceroute works

Traceroute sends packets with increasing TimeToLive TTL values. Routers decrease TTL by 1. When TTL is zero, routers return a timeout message. Traceroute reads these replies to map the network path.

Running traceroute

Linux or macOS:

1
traceroute example.com

Windows:

1
tracert example.com

Key output fields

Options

Common uses

Security note

Some firewalls may block or filter traceroute packets. Timeouts or asterisks in output may mean this, see details.

For more, check official docs.

Tags: [networking]