Traceroute Online - Trace the Packets Path
Simply network testing tools. Traceroute Online as well as other common network telemetry tools. Command line tools for when you don't have a command line. Use traceroute, mtr, tcptraceroute, ping and dig remotely.
Traceroute MapA visual mapping of online traceroute response
Taking the data from our Online Traceroute tool we attempt to map the hops in the network path. Parsing the mtr traceroute results we plot the results on a world map. Starting from the traceroute-online.com server in New York this test displays response times for each responding hop in the path. Non-responding hops will not be listed. Please note that geolocation can be tricky especially within core routers. Errors are not uncommon in the mapped results.
As you will see from the traceroute mapping the plots between hops all originate from the server that is performing the test. By using this method it is clear to see the response time from the source to the destination hop. Attempting to plot a traceroute on a map similar to what can be seen in the movies is actually quite difficult due to the problem of getting accurate IP address geolocation data.
Router PrioritizationDid you know routers can prioritise traffic?
It is common to give ICMP packets a lower priority than other traffic. If this is the case the response times listed in the traceroute may not accurately depict the application response times. On the other hand if there is a slow hop for ICMP it is likely this router is having a bad day and the application traffic will also be slow through this hop.
Global Internet Speed by CountryHighest (Top 10) Average Internet Speed Jun 2018
The USA came in at 20th with 25.86 Mbps, the UK at 35th with 18.57 Mbps and Australia is 52nd with 11.69 Mbps. This data was compiled by Cable UK.
Traceroute Response TimesUnderstanding the Response Time (icmp / tcp / udp)
Response time is plotted against each hop in the path. Usually this will have an upward trend as the further from the source the higher the traceroute response time or latency. Plotting the MTR traceroute data can show hops where significant variation in response times is apparent usually due to distance but possibly due to network instability.
Obviously we want our response times to be as small as possible in order to have the best experience when using the Internet. Keep in mind that there are limits to how low a response time can get when pinging the other side of the world. These limits are based on science and physics so upgrading your connection will always have theoretical limit.
A decent response time to the other side of the world is typically in the low 200ms range. While access to Google services and other distributed networks commonly see < 10ms.
Traceroute CommandsA toolkit of traceroute tools for Windows, Linux and Mac OS X
Tracepath, Tracert, tcptraceroute, traceroute and mtr are all similar tools that test the network path using either UDP, ICMP or TCP. See the wikipedia article for more details on the technical side of traceroute and the tools that we run.
Windows Traceroute Command
All versions of Windows come with the built in command tracert. Using this command you can from a Windows command prompt launch a traceroute.
Using the option -6 you are also able to traceroute to an IPv6 enabled host.
If you have Nmap installed in your Windows system you can also use the nmap traceroute option as explained below under the Linux Command section.
Linux Traceroute Commands
Installed by default in Ubuntu and Fedora is the tracepath command. This command has the advantage over traceroute in that it does not require super user (root) privilleges to run. It uses a random UDP port or the UDP port can be specified on the command line using the -p option.
-p specify the destination udp port to use
-n disable reverse DNS lookups
-b print both IP and host names
Available in most Linux distribution traceroute can be installed from your package manager of choice (apt install traceroute). By default this tool will use ICMP TIME_EXCEEDED responses to discover the route taken, however there is the option to specify TCP or UDP along with the port to be used.
By specifying the TCP option this command is the equivilant of the tcptraceroute command.
Use of this command requires root privilegs as the default traceroute uses raw sockets to generate the packet. These packets can be highly customized, hence this command has a large number of options available allowing you to dig deeper when it comes to troubleshooting a network connection.
traceroute (options) (ipaddress)
MTR combines the functions of traceroute and ping in order to provide more detailed information on the route taken.
The results show round-trip-response times in milliseconds along with the percentage of packetloss.
A large number of options are available making this a powerful network troubleshooting tool.
mtr (options) (ipaddress)
Another option available for performing a traceroute is the Nmap command. Usually known for its port scanning ability the nmap command also has a traceroute option for checking the network route.
An advantage of using the nmap command is that the traceroute will use a discovered open port if available to perform the traceroute. This can provide more information on the route when firewalls are blocking other traceroute commands.
nmap -F --traceroute (ipaddress)
Mac OS X Traceroute
Using the Network Utility you are able to bring up a GUI that allows you to perform a tracerotue command on the Mac OS X platform. Simply enter the target IP address and hit trace to start the traceroute.
Average Response Times (Local and Global)
Other Network TelemetryA fancy way of saying network tools
mtr is a diagnostic tool that combines traceroute and ping to perform a detailed analysis of a network path. The tool will ping each of the hops in the path a numebr of times to get an accurate measure of the stability and response times of each hop in the traceroute.
The protocol known as whois allows an IP address or a domain name to be queried to determine the owner of that domain name or IP address netblock. Finding the owner of an IP address or domain name is common practice among security analysts and systems administrators who regularly track down abusive systems, spammers or identifying the owners of hacked systems.
The dig tool is a primarly Linux based tools that is a more feature packed version of the common nslookup command available on Windows and other operating systems. It allows a user to query DNS servers to find DNS related information. Common uses are determing the IP address associated with a domain record or to find the MX server for a domain.