usefulness of the traceroute command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers usefulness of the traceroute command
# 1  
Old 05-28-2003
usefulness of the traceroute command

i know this is used in tracking down network problems. the problem is how is it helpful?? what should I look for when using traceroute?? i have looked on the internet but the information given isn't quite helpful as it as the same as the one in the man page.

the question here is, i have a network problem i chose to use the traceroute command, what do I do with the command? using the traceroute command, how do i identify which gateway is discarding my packets or causeing the network performance problems???
# 2  
Old 05-28-2003
A quick google search turned up a number of useful-looking links, including this one: Using Traceroute.
# 3  
Old 05-28-2003
remember i think the hop limit is 30. then your packet is dead in the water.

well lets think about it logical.

you have a network problem.... (is it slow? is it spikey? is it working?)

1) ping the end machine (how long does it take? does it reach the destination?)
2) traceroute (see any thing takeing a bit longer then the rest of the results?)
3) netstat (you can use it to do a bunch of stuff like see how much traffic is flowing)


there are various performance tuneing articles out there. try google groups and see if you can pick up a hint or something to search into. remember netwrok issue happen to all os's so dont limit yourslef to a group for your OS.
# 4  
Old 05-28-2003
traceroute is a nifty utility that sends out a UDP packet to a remote IP address with a time-to-live (TTL) of 1 (or zero, forgot which, but off the top of my head 'think' it is one). When the packet is received at the next hop the TTL is decremented by one and an ICMP error (destination unreachable, as I recall) is generated and returned to the source and the round-trip-time is recorded.

Then, the TTL is incremented by one and the UDP packet will go one more hop before the ICMP error is generated and the error returned to the source. This process is repeated again and again until the packet reaches its final destination.

Many people find this little utility one of the most important tools in a network admin's toolbox. I use it everytime there is a problem on the network.

So, to answer what I thought your question was, traceroute is very useful and the more you use it, the more you will understand how valuable of a tool it is. Just like any tool, the more experienced the user, the more useful the tool.

For example, a hammer in the hands of a very skilled carpenter is a better tool than in the hands of a novice carpenter. The same holds true for networking tools.

Neo
# 5  
Old 05-29-2003
my original question was partially answer by Optimus_P. What I wanted to know is how do I make use of the traceroute command?? Yes, I do know traceroute is quite useful but how do I put its usefulness to work?? just like vmstat. if you want to know whats goin on with the memory, you look at the po and free colums to make sure things aren't out of the ordinary. Same thing with traceroute but what I dont know is that exact thing I'm supposed to be checking for using the traceroute command.

Optimus_P or anyone else with deeper knowledge and experience on this, please, reply. I really dont want to go through the crazy task of scrolling thru unwanted info provided by the links mentioned.

By the way, NEO, I really dont understand why traceroute can be of so much usefulness like you say when it sends out UDP packets. Isn't UDP packets supposed to be unreliable or something? (I may be wrong but I read somewhere it is unreliable, thats why TCP is preferred)
# 6  
Old 05-29-2003
I use traceroute mainly to see where the link is broken or where the delay is.

For example, if you can't ping a system, use traceroute and it will show you the last node in the network it can get to. This may not be helpful if you don't know the network inbetween point A and point B, but if you do you can tell exactly where the problem is. If you don't know the topology, at least you can tell if the problem is on your end or theirs.

If you have strange network delays, traceroute will show you the time to get from one point to the next along the route. You can then track down the machine with the problem and correct the issue, or if you don't own the machine you can change your route to avoid it, contact the owner, or just wait until it gets fixed (which may never happen).
# 7  
Old 05-29-2003
Truest,

You are confusing connectionless protocols with connection-oriented protocols. You are also confusing a protocol used in a network troubleshooting utility with end-to-end transmission control requirements for the Internet protocol.

Careful Smilie You could get way over your head and ahead of the required background knowledge in networking to tackle these complex subjects.

As I stated before, the use of network utilities, and their usefulness, is based upon the mastry of the user. My advise would be to focus on understanding TCP/IP first. That subject alone can take months or years to master.
 
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. UNIX for Dummies Questions & Answers

help in PING and traceroute command

i cannot find a usefull ping and traceroute command from TCP to another TCP server with port. I usually do only traceroute IP and ping IP..is that enough? I wanted to check its connectivity to an IP address with port.. example: from ip 1.1.1.1 (TCP port 1234) destination 2.2.2.2 (TCP... (1 Reply)
Discussion started by: lhareigh890
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