Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Question about tracert.

16 Dec 2012   #1

Microsoft Windows 7 Professional 64-bit
 
 
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 SpecsSystem Spec
.

17 Dec 2012   #2

Linux Mint 17 Cinnamon | Win 7 Ult x64
 
 

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 SpecsSystem Spec
Reply

 Question about tracert.




Thread Tools



Similar help and support threads for2: Question about tracert.
Thread Forum
Solved Thermal Paste Question..(Noobish Question) PC Custom Builds and Overclocking
TRACERT is Broken; It Times Out On Every Hop General Discussion
Solved 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

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:45 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33