Question about tracert.

Raynian

New member
Member
VIP
Local time
3:51 AM
Messages
126
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 Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio S 13 A
OS
Microsoft Windows 7 Professional 64-bit
CPU
Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory
12.00 GB
Graphics Card(s)
(1) Intel(R) HD Graphics 4000 (2) NVIDIA GeForce GT 640M L
Screen Resolution
1600x900
Hard Drives
ATA SAMSUNG SSD 830 SCSI Disk Device
Mouse
Logitech / Microsoft touch Mouse
Other Info
Weight: 1.67 Kg
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
Back
Top