Skip to main content
network

Traceroute

Traceroute helps you trace network path to a destination, for routing analysis, ownership checks, and faster network troubleshooting.

Enter a domain name or IP address

TracerouteAnimated network path tracing illustrationPCR1R2R3Hop 1Hop 2Hop 35ms12ms8ms15ms

Advertisement · Anuncio

Advertisement · Anuncio

Technical Analysis

What It 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 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.

Academic Documentation

Protocol context and primary references

Overview

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

REST API Documentation

v1.0
GET /api/tools/traceroute
					curl -X POST https://epcybertools.com/api/tools/traceroute \
  -H "Content-Type: application/json" \
  -d '{"host":"google.com"}'
				
					{
  "success": true,
  "results": [
    { "test": "Sample Check", "status": "pass", "message": "All clear" }
  ]
}
				
Rate Limit: 100 requests / 15 minutes

Usage Examples

			# Basic traceroute

traceroute example.com

# TCP traceroute on port 443

sudo traceroute -T -p 443 example.com

# IPv6 traceroute

traceroute6 example.com