Traceroute Query


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Traceroute Query
# 1  
Old 04-28-2011
Traceroute Query

Hi guys,

Quick traceroute query.

As part of some research I'm doing I need to send a traceroute to an equal number of IPv4 and IPv6 addresses on the net and basically capture the number of hops, and intermediate IP addresses from the traces.

This all needs to be automated as there are around 20K pairs of IP addresses.

When I've done some messing around with traceroute before to some of the addresses, some of the probes time out (as normal) on some of the hops, but some will just keep timing out until the maximum TTL is reached.

What I need to do to is be able to say "after * timeouts, stop the traceroute", is this possible? I want to avoid setting a max TTL if poss so as not to miss out some of the further away hosts.

I had a look through the man pages but didn't see anything that might help...

TIA
# 2  
Old 04-28-2011
The -Q option is meant to do what I think you want. The default value for -Q is 5 timeouts.

Plus, there is no standard traceroute (POSIX) specification or implementation. You may not have a -Q option.

What platform are you on?
# 3  
Old 04-29-2011
Quote:
What platform are you on?
System Version: Mac OS X Server 10.6.7 (10J869)
Kernel Version: Darwin 10.7.0

I have -q but it's just to set the number of probes per TTL Smilie Any ideas?

---------- Post updated 04-29-11 at 03:47 PM ---------- Previous update was 04-28-11 at 06:58 PM ----------

Quote:
Originally Posted by jim mcnamara
The -Q option is meant to do what I think you want. The default value for -Q is 5 timeouts.

Plus, there is no standard traceroute (POSIX) specification or implementation. You may not have a -Q option.

What platform are you on?
A few other people I've spoken to have also mentioned this other version of traceroute with the -Q option. Is there somewhere I could go to search/download it?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Traceroute

I have some question about traceroute: 1. Can we hide our computer from traceroute? (2 Replies)
Discussion started by: budiantho_indra
2 Replies

2. UNIX for Advanced & Expert Users

Explain and example of traceroute.

Hi Colleagues, Somebody can explain me and send me examples about traceroute, I know is for network but I need anderstand your funcionality. Thank you for advanced. (2 Replies)
Discussion started by: systemoper
2 Replies

3. IP Networking

Traceroute response

I have 20 servers I installed an application to that is returning message " wrong dispatcher or port " when starting agents. They all have the same dispatcher ip and going through the same port number. After verifying there are no application issues, we figured it was firewall related. The Firewall... (1 Reply)
Discussion started by: HFJ
1 Replies

4. UNIX for Dummies Questions & Answers

traceroute

Good afternoon Can anyone explain traceroutes to me and when it would be necessary/what situations would call one to use it? (2 Replies)
Discussion started by: iamnew2solaris
2 Replies

5. UNIX for Advanced & Expert Users

traceroute

Hi, Can any one suggest me an add on feature for the traceroute command. Thanks in advance. Regards, Selvi (4 Replies)
Discussion started by: salvi
4 Replies

6. Solaris

is traceroute a problem?

Can somebody tell why 2 and 3 hops(147.149.129.21) are repeated two times? corizon@rds894a016 : /usr/sbin/traceroute 147.149.129.21 traceroute: Warning: Multiple interfaces found; using 10.187.37.35 @ e1000g1075000:4 traceroute to 147.149.129.21 (147.149.129.21), 30 hops max, 40 byte packets ... (1 Reply)
Discussion started by: bvvkrishna
1 Replies

7. Programming

how we can use traceroute

how we can use traceroute in unix c so how we can get the output of traceroute command in c thank u,inadvance sree (3 Replies)
Discussion started by: phani_sree
3 Replies

8. Shell Programming and Scripting

will traceroute work for this?

hello all- I am soon to convert a large scale ftp server and my problem is this. There are currently over 50,000 ftp profiles (each one within an individual file) that I need to determine which of the 2 interfaces it is traveling to get to its destination. My plans were that I will loop thru... (2 Replies)
Discussion started by: hedrict
2 Replies

9. UNIX for Dummies Questions & Answers

traceroute output?

I understand the concept of traceroute - can anyone explain the output to me e.g. 39ms 39ms 39ms are these the times for each trip it takes? Assuming each machine is pinged 3 times. and how does the RTT work? Is this the time it takes from one machine to another because it doesn't look like... (6 Replies)
Discussion started by: justine petrie
6 Replies
Login or Register to Ask a Question