will traceroute work for this?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting will traceroute work for this?
# 1  
Old 04-03-2005
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 individual files (a profile containing all of the ftp information for one transmission), within the file I read in a parm named ADDRESS="someipaddress", issue a traceroute command against the address. If I see within the traceroute the first hop going 192.168.1.1 then I can assume that it travels the internal interface however if I see the first hop as 191.144.1.1, then I know this an 'external' ftp. For everyone that I identify as and 'internal' FTP, I will (within the file) change a parm called RESOURCE=FTP to be RESOURCE=FTP_INT) and each that I identify as 'external will change from RESOURCE=FTP to RESOURCE=FTP_EXT.

I know there is a lot of very sharp individuals monitoring this site and I was wondering is there a better way to determine which NIC a ftp is traveling than a traceroute command? Will my idea even work? Might I get some sample code for the traceroute piece?


Thanks in advance for your help!
# 2  
Old 04-04-2005
I would think that you should have a list of your internet ip address ranges. It might be as simple as "is the address 192.168.*.*".
# 3  
Old 04-04-2005
I don't fully understand.

You should not need to do a traceroute. You can determine the information you need from your routing table and search files based on this information.

What routing protocol are you running? Or, as I suspect, are you simply static routing?
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. UNIX for Dummies Questions & Answers

traceroute dosent work

hi , folks i m back with again some silly question i think.!! i can do ftp , telnet from windows to unix machine , but not vice versa!!! , from unix box , i get connection refused , and ping says not alive. ,...my os . solaris 7 , ok i know ishouldnt load network by using traceroute , but itried... (2 Replies)
Discussion started by: definate
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