Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wanted to know if there is a range which is usually used for destination port that is used in traceroute command. Like the starting address for destination port is 33434. but is there some standard range which is preferred for traceroute ?

share|improve this question

migrated from stackoverflow.com Nov 9 '11 at 13:35

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Traceroute works by sending ICMP packets, which are their own protocol entirely. No ports.

In more detail - traceroute sends ICMP echo packets starting with a TTL of 1. That causes the packet to return a failure at the first router. Then a TTL of 2 - which brings it to the second router. TTL is increased until the destination is reached. The set of routers found along the way is the traced route.

share|improve this answer
We can specify the destination port where the udp packets are send to the destination .(I am going for linux implementaion) . –  Jiten Shah Nov 9 '11 at 4:50
Why do you prefer a UDP packet over the standard ICMP echo? –  ObscureRobot Nov 9 '11 at 5:00
actually i have a assignment in my college and I need to add some options to it . the orignal code provided to me uses UDP . –  Jiten Shah Nov 9 '11 at 5:12
What does the assignment ask you to do? –  ObscureRobot Nov 9 '11 at 5:26
to add the port option to the command . It internally uses 33434(default value) as the destination port but I need to add option to the command thru which we can specify the destiantion port . –  Jiten Shah Nov 9 '11 at 5:35

After googling I found out that 33434 is the port that is used as the base port for traceroute.

The range goes to 33434 + (max-ttl * numberofprobes - 1), that usually means

  • max-ttl = 30
  • numberofprobes = 3
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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