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

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

 Question about tracert.

Thread Tools

Similar help and support threads
Thread Forum
Can't Tracert.
I can do icmp ping at all sites, however my tracert does not work. And I'm under the impression that my internet this faster. This happened before I restart the computer. Now is running fine, however the latencies were 20ms more than previously when the "Bug" occurred. And on Event sayd this...
Network & Sharing
Can't ping or tracert
Hello. I just noticed that my smtp connection to my server ( is not sending mail. The same smtp client (Pegasus) receives mail ok. So I tried pinging and trace routing from an administrative command prompt, and notice I can't get a response from anywhere outside the home...
Network & Sharing
TRACERT is Broken; It Times Out On Every Hop
If I run TRACERT (trace route) using the command prompt (CMD) to any website this is what I get: It does not matter what URL I try, they all fail. I called my ISP and the agent said my line checks out...
General Discussion
Tracert: Your Opinion
Can you please take a moment to check this 'tracert' and tell me your opinion. Thanks. Microsoft Windows Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\user>tracert Tracing route to over a maximum of 30 hops
Network & Sharing
tracert timeouts on USB modem
I am using a USB modem in 32-bit Win7. It works fine for browsing etc, ping, nslookup. But tracert reports a timeout for everything but the final hop. It makes no difference if I turn off Windows Firewall. If I put the modem in a router connected to the PC, then tracert from the PC works fine....
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 21:59.
Twitter Facebook