DNS RobotDNS Propagation Checker
StartDNSWHOISIPSSL
DNS RobotDNS Propagation Checker

DNS-Propagation-Checker der nächsten Generation

DatenschutzrichtlinieNutzungsbedingungenÜber unsBlogKontakt

DNS-Tools

DNS-AbfrageDNS-GeschwindigkeitstestDomain zu IPNS-AbfrageMX-AbfrageAlle anzeigen

E-Mail-Tools

SPF-Eintrag-CheckerDMARC-CheckerDKIM-CheckerSMTP-Test-ToolE-Mail-Header-AnalyseAlle anzeigen

Website-Tools

WHOIS-AbfrageHosting-CheckerDomain-VerfügbarkeitSubdomain-FinderCMS-ErkennungAlle anzeigen

Netzwerk-Tools

Ping-ToolTraceroutePort-CheckerHTTP-Header-CheckSSL-Zertifikat-CheckAlle anzeigen

IP-Tools

IP-AbfrageMeine IP-AdresseIP-Blacklist-CheckIP zu HostnameASN-AbfrageAlle anzeigen

Hilfs-Tools

QR-Code-ScannerQR-Code-GeneratorUPI QR Code GeneratorWiFi QR Code GeneratorMorsecode-ÜbersetzerAlle anzeigen
© 2026 DNS Robot. Entwickelt von: ❤ Shaik Brothers
Alle Systeme betriebsbereit
Made with
Startseite/Blog/Tracert Command: How to Traceroute on Windows, Mac & Linux

Tracert Command: How to Traceroute on Windows, Mac & Linux

Shaik Vahid28. Sept. 20269 Min. Lesezeit
Tracert command example on Windows showing each hop, three response times and a timed-out hop, next to traceroute on Mac and Linux
Tracert command example on Windows showing each hop, three response times and a timed-out hop, next to traceroute on Mac and Linux

Kernaussage

Tracert (Windows) and traceroute (macOS and Linux) show every router between your computer and a destination, with three response times per hop. Run tracert example.com in Command Prompt or traceroute example.com in Terminal; add -d (Windows) or -n (Mac/Linux) to skip name lookups and get results faster. Asterisks or 'Request timed out' on a middle hop usually just mean that router ignores the probes — it's only a problem if every hop after it also times out or the latency jump carries through to the destination.

Advertisement

What Is the Tracert Command?

Tracert (trace route) is a Windows command that shows the path your traffic takes to reach another host — every router ("hop") along the way and how long each one takes to answer. On macOS and Linux the same tool is called traceroute.

It's the tool to reach for when a website is slow or unreachable and you want to know where the problem is: on your own network, at your internet provider, somewhere in between, or at the destination. Where ping tells you whether a host answers, tracert tells you the route and where it breaks.

How to Run Tracert on Windows

  • Press Windows + R, type cmd and press Enter (or search for Command Prompt).

  • Type tracert followed by a domain name or IP address, for example tracert example.com, and press Enter.

  • Wait. Tracert probes up to 30 hops, three times each, and waits up to 4 seconds for every reply — a clean trace finishes in seconds, but one full of timeouts can take several minutes. Press Ctrl + C to stop early, or use -d and -w (below) to speed it up.

text
C:\> tracert example.com

Tracing route to example.com [203.0.113.10]
over a maximum of 30 hops:

  1     1 ms    <1 ms    <1 ms  192.168.1.1
  2     9 ms     8 ms     9 ms  10.20.0.1
  3    12 ms    11 ms    12 ms  198.51.100.33
  4     *        *        *     Request timed out.
  5    24 ms    23 ms    24 ms  203.0.113.1
  6    25 ms    24 ms    24 ms  203.0.113.10

Trace complete.

Each line is one hop. The three numbers are three separate probes; the address on the right is the router that answered. Hop 1 is almost always your own router, and the last line is the destination. (The IP addresses above are reserved documentation addresses.)

Advertisement

Tracert Command Options

The syntax is tracert [options] target. The options you'll actually use:

OptionWhat it doesExample
-dDon't resolve IP addresses to hostnames — much fastertracert -d example.com
-h max_hopsMaximum number of hops (default 30)tracert -h 15 example.com
-w timeoutMilliseconds to wait for each reply (default 4000)tracert -w 1000 example.com
-4Force IPv4tracert -4 example.com
-6Force IPv6tracert -6 example.com

Combine them freely: tracert -d -w 1000 example.com gives the fastest useful trace. To save the result for your ISP or hosting support, redirect it to a file: tracert -d example.com > trace.txt.

How to Run Traceroute on a Mac

Open Terminal (Applications › Utilities) and run traceroute example.com. macOS sends UDP probes by default; add -I to use ICMP like Windows does, which often gets answers from routers that ignore UDP. Useful options: -n (no name lookups), -m 30 (maximum hops; macOS allows up to 64 by default), -w 2 (seconds to wait per probe) and -q 1 (one probe per hop instead of three).

bash
traceroute -n -I example.com

Advertisement

How to Run Traceroute on Linux

Run traceroute example.com. If the command isn't found, install it (sudo apt install traceroute on Debian/Ubuntu, sudo dnf install traceroute on Fedora) or use tracepath, which is usually preinstalled. Linux traceroute sends UDP probes by default, 3 per hop, up to 30 hops.

OptionWhat it does
-nShow IP addresses only (no DNS lookups)
-IUse ICMP echo probes (like Windows tracert)
-TUse TCP SYN probes (default port 80) — gets through firewalls that block UDP/ICMP; needs sudo
-p portDestination port to probe, e.g. -T -p 443
-m max_ttlMaximum hops (default 30)
-q nProbes per hop (default 3)
-w secondsTime to wait for each reply
text
$ traceroute -n example.com
traceroute to example.com (203.0.113.10), 30 hops max, 60 byte packets
 1  192.168.1.1  0.612 ms  0.571 ms  0.534 ms
 2  10.20.0.1  8.911 ms  9.004 ms  8.872 ms
 3  * * *
 4  203.0.113.10  24.112 ms  23.980 ms  24.051 ms

To test the path to a web server exactly as browsers reach it, trace over TCP port 443: sudo traceroute -T -p 443 example.com.

How to Read Tracert Results

  • Timeouts on one middle hop, but later hops answer (* or "Request timed out"): normal. Many routers are configured to ignore or rate-limit these probes. The path is fine.

  • Timeouts from one hop to the end: traffic is being dropped at or after the last hop that answered — often a firewall at the destination or a routing problem. Note the last responding hop; that's the network to contact.

  • A latency jump that stays high for every later hop (for example 10 ms → 120 ms → 121 ms → 125 ms): the delay is real and starts at that hop — often a long-distance link or a congested network. A jump on one hop that drops back afterwards is just that router answering slowly and can be ignored.

  • "Destination host unreachable" or "Destination net unreachable": a router reported it has no route to the target — check the address, or a firewall/routing issue at that hop.

  • Private addresses (192.168.x.x, 10.x.x.x) on the first hops: your own router and your ISP's internal network. Slow times here point to your local Wi-Fi or modem.

  • The trace ends at the destination with low times: the network path is healthy, so a slow website is more likely a server or DNS problem — check it with our DNS lookup and DNS speed test.

Advertisement

How Tracert Works

Every IP packet has a TTL (time to live) counter that each router lowers by one; when it reaches zero, the router drops the packet and sends back an ICMP "Time Exceeded" message. Tracert exploits this: it sends probes with TTL 1, then 2, then 3 and so on, so each router along the path reveals itself in turn, until the destination replies.

The operating systems use different probes. Windows tracert sends ICMP echo requests (the same packets as ping). macOS and Linux traceroute send UDP packets to high ports by default. Firewalls treat these differently, which is why the same trace can look different on Windows and Linux — and why the -I and -T options exist.

Tracert vs Traceroute vs Pathping vs MTR

ToolPlatformBest for
tracertWindowsQuick path check with ICMP probes
traceroutemacOS, LinuxPath check with UDP, ICMP (-I) or TCP (-T) probes
pathpingWindowsRuns a trace, then measures packet loss at every hop for ~25 seconds per hop
mtrmacOS, Linux (and Windows via WinMTR)Live, continuously updating trace with loss and latency per hop
tracepathLinuxTraceroute without root that also discovers the path MTU

For intermittent problems, pathping or mtr is better than a single tracert, because packet loss that only happens now and then won't show up in three probes.

Advertisement

Run a Traceroute Online

A trace from your own computer only shows the path from your network. To see whether a site is reachable from elsewhere — or to test without a terminal — run our online traceroute, which traces from DNS Robot's servers and shows each hop with its location and network. Pair it with the online ping test to measure latency and packet loss, and IP lookup to see who owns a hop's IP address.

Trace a route without a terminal

Run a traceroute from DNS Robot's servers to any domain or IP and see every hop with its latency, network and location.

Testen Online Traceroute

Advertisement

Tracert Command FAQ

On Windows, open Command Prompt and type tracert followed by a domain or IP address, for example tracert example.com. On macOS or Linux, open Terminal and type traceroute example.com.

Verwandte Tools

TraceroutePing ToolIP LookupDNS LookupDNS Speed Test

Verwandte Artikel

DNS Server Antwortet Nicht — LösungWiFi Connected But No Internet? 12 Fixes That Actually WorkDNS Cache löschen: Anleitung für Windows, Mac, Chrome & Linux

Inhaltsverzeichnis

  • What Is the Tracert Command?
  • How to Run Tracert on Windows
  • Tracert Command Options
  • How to Run Traceroute on a Mac
  • How to Run Traceroute on Linux
  • How to Read Tracert Results
  • How Tracert Works
  • Tracert vs Traceroute vs Pathping vs MTR
  • Run a Traceroute Online
  • Häufig gestellte Fragen