Traveling Through the Network

 Traveling Through the Network Blog


Ping and traceroute command

I have been in IT for many years. I have used ping and traceroute countless times. Ping sends  ICMP (Internet Control Message Protocol) packets. It is used to test connectivity to computers, servers, and routers. It is the first command I use to see if I can reach the device. If ping does not give me a result, the computer or network device may be turned off or disconnected. It measures how long a packet is sent and when it reaches the devices. It is used to diagnose network problems. Many factors could affect the ping results when sent to devices in another country. Some factors that could affect latency are distances to the devices and the number of hops to get to the destination. The quality of your network connecting can also affect the time it reaches the destination and receive the packet back. This brings up the traceroute command. 

Traceroute is a command used to diagnose a data packet's path to reach the destination. It sends a series of packets to the destination with increasing Time-to-Live or TTL values. It records the IP address of each router and discards the packet.  Traceroute builds a map of the path that the packet takes. This is known as hops. Like ping, the quality of your network and the distance to the destination can affect your results. When using a traceroute to access domains in another country, it's essential to be aware that the traceroute times can be longer due to the increased distance and potential network issues. While ping can tell you if there is a problem, traceroute can help you pinpoint where the problem exists. (N-able 2020). An example of this is when I received a call from one of our labs. They said it is taking too long to copy files from our servers. I used traceroute to determine where the longest delays are happening and 

 

ping - google-1.png

 

ping - yahoo philippines.png

 

Ping - facebook - China.png

tracert google.png

tracert yahoo japan.png

tracert facebook china.png

References:

N-able.com (2020 June, 23) What is traceroute and how does it work.

https://www.n-able.com/blog/what-is-traceroute-how-does-it-work

Comments

Popular posts from this blog

Network Security