New: Post-Quantum Cryptography tools — is your domain quantum-safe? Check now

network

Traceroute

Trace network path to a destination

What You Need to Know

What This Tool Does

Traceroute maps the network path packets take from your location to a destination, showing each router (hop) along the way and measuring latency at each point.

Why It Matters

  • Path Visibility: See exactly how data travels to reach a destination
  • Bottleneck Identification: Find where delays or failures occur
  • ISP Routing: Understand your ISP's network paths and peering
  • Geolocation: Track physical path through different regions

How to Read the Results

  • Hop Number: Position in the route (1 is your router, 15-20 typical)
  • IP Address: Router at each hop (with hostname if available)
  • Response Time: Latency to that hop (sudden increases show bottlenecks)
  • * * * : Timeout - router not responding to probes (often normal)

Technical Background

Traceroute (tracert on Windows) works by sending packets with incrementally increasing TTL (Time to Live) values, exploiting the ICMP Time Exceeded message mechanism. Packet 1 has TTL=1 — the first router decrements it to 0, sends ICMP Time Exceeded back. Packet 2 has TTL=2 — passes the first router, stopped at the second. This continues until the destination is reached. On Unix/macOS, traceroute uses UDP probes by default (ports 33434+); on Windows, tracert uses ICMP Echo. TCP traceroute (traceroute -T) uses TCP SYN packets on a specified port, useful for tracing through firewalls that block ICMP/UDP. Each hop shows 3 probe round-trip times in milliseconds. Asterisks (* * *) appear when a router silently drops probes — common for routers configured with ICMP rate-limiting or ACLs. Asymmetric routing (different forward/return paths) can make interpretation complex: the latency shown at each hop reflects the RETURN path from that router to your machine, not just that segment's latency. High latency at a single intermediate hop but normal latency at subsequent hops is typically an ICMP rate-limiting artifact at that router, not an actual bottleneck. Traceroute is invaluable for network diagnostics: identifying where packet loss occurs, detecting BGP routing changes, discovering CDN and ISP topology, measuring latency per network segment, and debugging asymmetric routing. Tools like mtr (My TraceRoute) combine ping and traceroute in a continuous real-time display, making it easier to identify intermittent packet loss. Modern enterprise networks use MPLS (Multi-Protocol Label Switching) which can cause traceroute to show only edge routers, hiding internal MPLS hops. Paris-traceroute and Dublin-traceroute use flow-aware probing to produce consistent results in load-balanced networks. Network engineers use traceroute output to calculate per-segment latency by subtracting the previous hop RTT from the current hop RTT. This reveals latency-heavy segments in the path. Multiple traceroutes from different geographic vantage points help identify whether routing issues are localized or widespread. Services like Thousand Eyes, Catchpoint, and the Looking Glass networks operated by major ISPs provide multi-point traceroute capabilities. When comparing routes, note that internet routing is asymmetric by design — the path taken for outbound packets and the path taken by return packets may traverse completely different networks, which complicates latency attribution.

Command-Line Usage

Run equivalent checks directly from your terminal on macOS, Windows, or Linux.

🍎 macOS

# Basic traceroute
traceroute example.com
# TCP traceroute on port 443
sudo traceroute -T -p 443 example.com
# IPv6 traceroute
traceroute6 example.com

🪟 Windows (PowerShell / CMD)

# Windows tracert command
tracert example.com
# Disable DNS resolution for speed
tracert -d example.com
# Specify max hops
tracert -h 30 example.com

🐧 Linux

# Install traceroute if needed
sudo apt install traceroute
# Basic traceroute
traceroute example.com
# TCP SYN traceroute (requires root)
sudo traceroute -T -p 443 example.com

Input Parameters

Enter a domain name or IP address

Tool Status: Ready

Developer

API & CLI Usage

API Endpoint

POST /api/tools/traceroute

Platform-Specific Examples

Bash (curl)
curl -X POST https://epcybertools.com/api/tools/traceroute \
  -H "Content-Type: application/json" \
  -d '{"host":"google.com"}'
wget
wget --method=POST \
  --header="Content-Type: application/json" \
  --body-data='{"host":"google.com"}' \
  -O - https://epcybertools.com/api/tools/traceroute
HTTPie (apt install httpie)
http POST https://epcybertools.com/api/tools/traceroute \
  host="google.com"
View full API documentation →