I am aware that -p sets the number of probes in a traceroute. I recently did the following traceroute with different values of -p i.e 1 and 3 (the default value).

Traceroute with number of probes equal to 3

enter image description here

Can you explain the increase in the number of hops due to change in the number of probes ? Are the * marks due to the requests timing out ?

  • This looks like a traceroute over the Internet. Traceroute can be a useful tool on you own network to compare with what you know and expect, but using over the Internet it can actually be worse than useless. The various ISPs sometime will route a traceroute over a different path to disguise their internal networks.
    – Ron Maupin
    Jul 4 '16 at 17:29
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 14 '17 at 21:02

Traceroute is normally working over UDP. Using -T option you are using TCP SYN instead.

If you look in the traceroute's output you will see that after hop 3 the router there is doing loadbalancing of the traffic. So part of the packets are going one direction, part of them to another. We can imagine that one of the ways out is via ISP1 and the other one is via ISP2. As result hop count is different.

By default traceroute is executing 3 queries to every single hop in order to explore every single possible exit on every single router on path. However I can't explain how it is working when TCP is used. In my opinion -q is not applicable for use together with TCP.

At least when I tried it was working very very strange:

  [host]# traceroute -T -q 3
traceroute to (, 30 hops max, 40 byte packets
 1  xe-5-3-2-129.ams-koo-score-2-re0.interoute.net (  0.163 ms  0.150 ms  0.146 ms
 2  ae0-0.ams-koo-score-1-re0.interoute.net (  0.232 ms  0.230 ms  0.234 ms

 3  * * *
 4  * * *

  [host]# traceroute -q 3
traceroute to (, 30 hops max, 40 byte packets
 1  xe-5-3-2-129.ams-koo-score-2-re0.interoute.net (  0.157 ms  0.239 ms  0.233 ms
 2  ae0-0.ams-koo-score-1-re0.interoute.net (  0.187 ms  0.206 ms  0.202 ms
 3 (  0.700 ms  0.697 ms  0.706 ms
 4 (  1.188 ms  1.258 ms  1.415 ms
 5 (  1.345 ms  1.270 ms (  2.749 ms
 6 (  4.273 ms (  5.054 ms (  5.191 ms
 7 (  4.636 ms  4.627 ms (  4.573 ms
 8  google-public-dns-a.google.com (  4.480 ms  4.454 ms  4.449 ms

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.