Blog

What is Traceroute?

Admin Globaldots
02.07.2013
image 3 Min read

The internet is a complex ecosystem in which to operate, with many different protocols and technologies vying for dominance as the number of websites and users grow. This increase in traffic has led to congestion, as internet infrastructure struggles to meet demand. Thankfully, many technologies have been developed to boost the performance of websites and ensure data is delivered quickly and efficiently around the globe.

When considering how well, or badly, a website is performing when trying to connect to data online, there are a number of different reasons to consider. As well as the performance of your own ISP and device, it is important to remember that when you request a specific piece of data online, your request is routed through many different intermediaries and networks before it reaches your screen.

This is where Traceroute comes in. It is a technology that is included within operating systems, and its beginnings can be traced back to UNIX in the 1970s. Now with a presence on Microsoft and Apple operating systems, Traceroute provides a method, via a command line, to measure the internet connection between all the servers on your data request’s path, analysing packet loss and latency rates.

 

How does Traceroute work?

Traceroute works by determining the entire route that data makes from its origin server to your screen once it has been requested. By simply inputting the IP or web address of the target machine, it provides an insight into the path taken, and therefore the number of hops and different networks that it must pass through. The different hops are each displayed on screen, with their IP address listed and a ping measurement. By showing the network delay on each intermediary, we are able to see where bottlenecks are occurring and which the weakest link in the data chain is, highlighting any problems between the origin and destination machines.

Traceroute is able to do this by sending packets of data using the same method as simple ping requests – the ICMP protocol. Each packet contains a time-to-live (TTL) function, which limits the life of the data packet. The first packet has a TTL of 1, the second has a TTL of 2, and so forth, with each hop along the network reducing the TTL of a packet by one. The reason for this is that, as the TTL for each packet reaches 0, the server that it is currently at will send an error message along with a response time. This method therefore allows an error message to be displayed from each server along the route, providing the insight required.

English: Sample on traceroute from a novaoffic... Traceroute in a Windows NT command line

Using Traceroute

There are a few different ways of using Traceroute, depending on your operating system. Windows users must open a command line window (preferably with administrator privileges) and enter the following text:

tracert domainname.com

Apple OS and Linux users, on the other hand, must use the following text:

traceroute domainname.com

Traceroute is an ideal method for identifying weak links on the network chain. Thanks to its ease of use and the fact that it is built into all mainstream operating systems by default, it is easy to take advantage of its power and ensure your data is travelling by the best means possible.

 

blog-banner-dns

Enhanced by Zemanta

Comments

0 comments

There’s more to see

eCommerce Group Reduces Cloud Bill by $1.4 annually
FinOps – Cloud Cost Optimization
David Amir, Head of FinOps @ GlobalDots 03.07.22

Even the smartest online businesses and DevOps teams can find themselves in a state of cloud overspend. The more complex the business structure – the deeper the problem might become. This was just the case for our client, a giant eCommerce retail group. This is the story of how GlobalDots cloud economy services, backed by […]

Read more
DevOps Expertise at Your Doorstep 
DevOps as a Service
Dror Arie, Senior Solutions Architect @ GlobalDots 29.06.22

Expert teams fit into every product development and deployment stage – we implement CI/CD, Kubernetes Migration & Clusters, Infrastructure as Code, Logging and Observability, Cloud Infrastructure Design, Container Management, and much more.

Read more
Get 15% discount for the FinTech Junction Conference!
Your Innovation Feed
Admin Globaldots 28.06.22

The coronavirus pandemic has changed everything, from the way we live and work to the way we consume and get basic services. Financial services will never look the same again. In this new reality, financial services companies will have to accelerate the development of their digital services, protect their customer data, and continue to improve […]

Read more
Unlock Your Cloud Potential
Schedule a call with our experts. Discover new technology and get recommendations to improve your performance.
Contact us