|16 Dec 2012||#1|
| || |
Question about tracert.
I am trying to understand how tracert works and have some trouble, any guidance is appreciated =D
I understand that an ICMP error message "ICMP Time Exceeded" is sent back to the sender machine whenever the TTL value is 0 or 1.
But why don't we see the error message each time the trace packet passes through each router ?
As tracert works by receiving the "ICMP Time Exceeded" error message each time it passes through a router.
|My System Specs|
|17 Dec 2012||#2|
| || |
We don't see an error message because the behaviour of traceroute is that the time exceeded indicates to it that it has not reached the destination IP address.
There are two possible responses to the datagram being sent; Host unreachable and Time Exceeded. The first is a fatal error that stops the trace, the second simply means we have not reached the destination yet.
Tracert typically will follow a route for up to 30 hops, at which point it gives up (unreachable). However, some implementations of tracert allow you to specify the number of hops.
Here is a snippet from InetDaemon.com..
If a router finds a TTL value of 1 or 0, it drops the datagram and sends back an Internet Control Message Protocol (ICMP)Time-Exceeded message to the sender. Traceroute determines the IP address of the first hop by examining the source address field of the ICMP Time-Exceeded message.
To identify the next hop, traceroute sends a UDP packet with a TTL value of 2. The first router decrements the TTL field by 1 and sends the datagram to the next router. The second router sees a TTL value of 1, discards the datagram, and returns the Time-Exceeded message to the source. This process continues until the TTL is incremented to a value large enough for the datagram to reach the destination host or until the maximum TTL is reached or the destniation host replies with an ICMP Echo Reply.
|My System Specs|
|Similar help and support threads for2: Question about tracert.|
|Thermal Paste Question..(Noobish Question)||PC Custom Builds and Overclocking|
|TRACERT is Broken; It Times Out On Every Hop||General Discussion|
|Logitech 5.1 surround question and soundcard question IDT and Realtek||Sound & Audio|
|Tracert: Your Opinion||Network & Sharing|
|tracert timeouts on USB modem||Network & Sharing|
|Save Pathping/tracert results??||Network & Sharing|
|I cant tracert my Canon 2880iRC Win7 Pro x64||Network & Sharing|
|Our Sites ||Site Links ||About Us ||Find Us |
© Designer Media Ltd
All times are GMT -5. The time now is 12:45 PM.