Skip to main content

Ping and Traceroute

 

PING

Ping is used to check if a website is reachable. When pinging a website, packets are sent through the network via routers to a destination server and if it goes through without interruption, that destination sends back an acknowledgment response. That response will include data about the ping, such as the number of packets sent and the time in milliseconds that it took to send and receive back that acknowledgment response for each packet. It will also show if any of the packets sent did not make it to its destination.I pinged two different websites, one being News.com.au out in Australia and Rakuten.co.jp in Japan. Both pings sent 4 packets and none were lost as shown below.

 

However, I did notice that one of the packets from the Australian site took significantly longer than the other 3. The same thing happened to the website out of Japan, but the time difference wasn’t as significant. As far as the two, the Australian site took an average of 82ms and the Japanese site had an average of 141ms. So, it took a bit longer to get a response from the Japanese site.


Traceroute

Traceroute is primarily used to show the path or the hops the data packets took and went through to reach a specific destination. Below are examples of two traceroutes using the same websites as the pings.


Like the pings, it took significantly longer to get back the hop responses when doing a traceroute on the Japanese site vs the Australian site. I assumed that it was due to a farther distance as the Japanese site attempted to go through 18 hops and the Australian site had only 10, but Japan is in fact closer to my location than Australia. So, my assumption is that the network traffic to Japan was higher than that of Australia and the traceroute had to take a longer route to get to its destination. Overall, I would say that the farther the distance packets have to travel the longer the response time will be due to it going it farther distance.

 

Ping and Traceroute in Troubleshooting 

Ping and traceroute commands can be useful for troubleshooting as they can show whether the commands are making it to its destination or not, aiding in identifying potential network issues. If a ping has failed packets, that could be an indicator of a poor signal or internet connection. Traceroute can be beneficial as it will show if a hop has a higher millisecond time, and if it does, that could be an indicator of an issue with that particular router. Some possible reasons why a command request would time out or get an error are due to high traffic which might cause a delay and time out, or something as simple as not typing the domain name or IP address correctly which would result in an error and finally, having an unstable network connection can lead to timeouts as well.


Comments

Popular posts from this blog

Ping Commands, Viruses, and Phishing

       Ping commands are useful when it comes to troubleshooting and checking to see if a website is available and how fast you would be able to access it. However, ping can also be used for malicious intent. Today I will discuss an attack possible by means of ping commands. I will also get into computer security incidents like computer viruses and phishing and discuss what makes computers vulnerable to them, the damage they can inflict and protection methods for each. Ping Commands for Malicious Intent One major attack that can be accomplished by using ping commands is a denial of service attack. A denial of service attack is when a target website is basically overloaded to the point that it is rendered useless. By using the ping command, an attacker will send oversized data packets to a target website that will be too much for it to handle and causing the site to crash, not allowing legit users to use that site for a certain amount of time. An example of this ...

The Pros and Cons of Microsoft Word, Excel, and PowerPoint

    All throughout the information technology world you will at some point have to utilize applications such as Microsoft Word, Excel and PowerPoint. These are some of the most common and basic applications that are out there today. Today I will be discussing the advantages and disadvantages of each, and how they compare to one another. Microsoft Word Advantages: Versatility in Writing: Word is perfect for all writing purposes, whether you're drafting a book, essay, poetry, contract or work memorandum. Formatting: It offers a lot of formatting tools, including various font styles, sizes, alignments, customizable margins, and borders for a more appealing document. User Friendly: This application is really easy for the user to utilize, navigate and learn quickly. Disadvantages: Limited Data Formatting: Word excels in writing and formatting that text, however, it lacks the data formatting capabilities found in other applic...

Intro to Programming Languages

  Having very little IT experience, this project is my first steps towards a better background in that department. It is exciting and makes me nervous at the same time as I have never used nor even read about programming languages before. This was the same for the program Scratch, but the outcome was positive and gave me a better understanding of what program coding consists of. The following is the link to my Scratch program :  https://scratch.mit.edu/projects/1116622511 This was quite interesting, having never used the program Scratch, I found myself struggling a bit at first trying to figure out how all the different codes would affect the outcome. Once I had a decent grasp of that, I knew what I wanted to do but getting the figures to do it how I wanted was the challenge. The biggest challenge was getting the timing right for everything. I overcame this by simple trial and error. I would set a time for something, run the program and see if it needed to be slowed or sped up...