Tracert.exe? Ping.exe? What the heck is that?
Trace Route (tracert.exe) is a DOS command line utility program that traces connection pathways along the Internet using the TCP / IP protocol. Ping (ping.exe) calculates how long it takes to transfer a packet of information from origin [you] to destination [a web site] and back again [to you].
What is TCP / IP?
The TCP / IP protocol is a method used to communicate computers on the Internet. Any computer using the TCP / IP protocol has a unique address, referred to as an IP (Internet Protocol) address. An IP address can be thought of as a special “mailing address” to your computer, much like your home address.
An example of the ping.exe command
Ping can be accessed from an MS DOS Prompt / Command Prompt by clicking START -> RUN -> and type in “command.com” (without quotes).
When the command line is loaded, type in “ping www.southdreamz.com” at the prompt and press enter. What you will see is something similar to this:
* c:\> ping www.southdreamz.com
* Pinging www.southdreamz.com [22.214.171.124] with 32 bytes of data:
* Reply from 126.96.36.199: bytes=32 time=68ms TTL=51
* Reply from 188.8.131.52: bytes=32 time=85ms TTL=51
* Reply from 184.108.40.206: bytes=32 time=78ms TTL=51
* Reply from 220.127.116.11: bytes=32 time=56ms TTL=51
* Ping statistics for 18.104.22.168:
* Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
* Approximate round trip times in milli-seconds:
* Minimum = 60ms, Maximum = 75ms, Average = 69ms
Alright, so what’s the major difference between ping.exe and tracert.exe?
Ping.exe is very similar to the tracert.exe program, except that tracert.exe identifies pathways taken along each hop, rather than the time it takes for each packet to return.
A hop is similar to a “bounce”, since packets of information bounce from one computer to the next on the Internet.
An example of the tracert.exe command
Tracing route to www.southdreamz.com [22.214.171.124]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms [Intentionally Blank *]
2 1 ms <1 ms <1 ms [Intentionally Blank]
3 51 ms 515 ms 519 ms [Intentionally Blank]
4 58 ms 515 ms 519 ms ATM4-3-1.gw2.hkg3.somesite.net [126.96.36.199]
5 51 ms 514 ms 519 ms po2-0.cr1.hkg3.somesite.net [188.8.131.52]
6 574 ms 576 ms 572 ms gi2-0-0.cr1.nrt1.somesite.net [184.108.40.206]
7 68 ms 678 ms 678 ms po1-0.gw1.sjc1.somesite.net [220.127.116.11]
8 65 ms 682 ms 682 ms eqix-peer.sjc01.someserver.net [18.104.22.168]
9 68 ms 682 ms 682 ms xe0-0.cr02.sjc02.someserver.net [22.214.171.124]
10 76 ms 704 ms 704 ms eos1-22.cr01.sea01.someserver.net [126.96.36.199]
11 75 ms 700 ms 704 ms xe0-2.cr01.sea02.someserver.net [188.8.131.52]
12 97 ms * 701 ms ge1-spry.cust.sea02.someserver.net [184.108.40.206]
13 90 ms 704 ms 700 ms 220.127.116.11
14 75 ms 703 ms 705 ms 18.104.22.168
You see, the Internet is a large network of inter-connected computers.
Any information sent from a source computer must travel through many computers / servers / routers (they’re all the same thing, essentially) before it reaches a destination.
All information that is sent from a computer using TCP / IP is broken up into smaller components, called a packet.
Packets are sent out in multiple directions and then recompiled into a single entity at the destination (a file, for example). Time wise, packets are sent almost instantaneously. However, packet speed can depend on a few factors, such as: the speed of your Internet connection, how far away the destination computer is, and overall Internet congestion (how many people are using the same path as you).
Sometimes, packets of information are lost along the way.
Because not all packets use the same pathway, some packets can get “lost” before reaching the destination computer. In many instances, the packets which are sent from the origin computer must arrive in the same order at the destination. If not, the receiving (destination) computer continually requests that the packets are resent until they are successfully delivered. It is for this reason that we experience “lag” or “slow response times” on the Internet.
Two reasons for a lost packet might include a “broken” or slowed connection.
Packets are bounced in different directions before reaching their final destination. Sometimes, a hardware malfunction can occur along the way (for single or multiple packets) and can result in slow response time or halt communication altogether.
A hardware malfunction on an Internet pathway can affect a few — or many
A hardware malfunction may influence a large number of users depending on its location and its role of Internet connectivity. An example of a hardware malfunction might include a “downed router”; routers are responsible for delivering (routing) packets of information along various Internet pathways. Commonly, a web server is blamed to be “down”, when in fact, the connection to the web server has been compromised (when in doubt, always use tracert.exe!).
There appears to be a broken connection to the www.southdreamz.com web site
If you take note of the above example of tracert.exe, you will see that in hops 7 and 8 there is a Timed out Request. It would appear that there is a downed router somewhere on the Internet which is affecting the connectivity of the www.southdreamz.com web site.