Traceroute: Difference between revisions

From wikinotes
No edit summary
 
 
Line 5: Line 5:


<source lang="bash">
<source lang="bash">
traceroute twistedmountainanimation.com  # unix
traceroute example.com  # unix
tracert    twistedmountainanimation.com  # win
tracert    example.com  # win
</source>
</source>



Latest revision as of 20:39, 20 June 2022

traceroute/tracert measures how long it takes to make every connection between your request, and the target domain.

Usage

Run, and wait a couple of minutes for the command to finish.

traceroute example.com   # unix
tracert    example.com   # win

Output Format

Output Format
hop # RTT 1 RTT 2 RTT 3 address
10 81ms 74ms 74ms 888.888.88.88

Traceroute measures the time it takes to send 3x packets between each hop towards your destination.

  • The 3x RTT values are the Round-Trip-Time it takes for each test packet to get sent to that hop
  • A * in an RTT column indicates packet-loss

Normal Behaviour

  • Apparently, within a continent, you can expect each hop to take less than 150ms.
  • Between ottawa/toronto digitalocean, I'm getting 10 hops each about 18-25ms.