Tracert is a Windows based TCP/IP utility that allows you to determine the route that packets take while traversing through a network to certain destination. It can help You to test intermediate hops and determine possible problems on your network. The same tool can be also found on Linux/Unix like operating syste
ms with slightly changed options - tool is called Traceroute.
It works in a way that increases TTL value "time to live" of each sent packet. When a packet passes through a hop, the hop decrements the TTL value by 1 and forwards the packet to the next hop, so when a packet with a TTL of 0 reaches the next hop, the hop discards the packet with an ICMP "time exceeded" message. By finding out packet hops on the way to it's destination, Tracert can easily help you find routing problems in your network.
Using Tracert to determine route of packets
To any given network destination, there's great possibility that theres more than one route or path for packets to travel to it's destination. After all, this is how internet functions. To determined which route or path, or over which hosts and hops packets are passing through, we can use Tracert (meaning that we're tracing the route).
On Windows, we'll use tracert from command line, going to Start > run > and enter "cmd". We'll trace route from our host 192.168.10.101 to google.com and see over which hops packets are traversing:
From the example, we can see exact point where packets are traversing. Also we see that to reach google.com from our network, traffic has to pass over 11 hops (routers). Result also gives us exact route to our destination. Hovever, Tracert tells us nothing about network latency. To provide network latency and packet loss for each hop (router) and link on the path, We can use tool like Pathping.
Comments
Post a Comment