Skip to main content

Traveling Through a Network: Using Ping & Traceroute Commands to Check Network Connections

 

Traveling Through a Network 

Part 1. Ping Activity and How Packets Travel Through the Network

In my experience with network diagnostics, I utilized ping and traceroute commands to analyze how data packets travel through the internet. These tools help us understand the network activity and performance issues in communications between devices. After testing out the different websites, I observed how packets are transmitted, and the different paths they take depending on geographic location and network routing. When using the ping command, my device sends a series of data packets to the specified IP address or domain name. Then it travels across multiple nodes or routers and switches until it reaches the intended destination. RTT (round trip time) is measured with the ping command, displaying how long it takes for a packet to reach its destination, and return, this helps observe latency and your overall connection quality.

ping google.com

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Minimum = 46ms, Maximum = 104ms, Average = 70ms

ping google.co.uk

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Minimum = 56ms, Maximum = 121ms, Average = 74ms

ping google.co.jp

Pinging google.co.jp [2607:f8b0:4008:805: : 2003] with 32 bytes of data:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Minimum = 47ms, Maximum = 74ms, Average = 58ms

Part 2: Traceroute Activity

Traceroute operates TTL (Time-to-Live) value, traceroute allows users to see each hop a packet makes, providing information into the network path and identifying possible failures. If you see a * in a column, the command timed out before you received a response, which could indicate packet loss. If the request times out, you should not consider that a successful hop.

Tracing route to google.com

11  hop’s  68 ms   55 ms  54 ms 

Trace complete.

Tracing route to google.co.uk

11   hop’s   52 ms   68 ms     64 ms     

Trace complete.

Tracing route to google.co.jp

12   hop’s    151 ms        138 ms         84 ms

Trace complete.

Part 3. Comparing Results & Troubleshooting

In testing different websites, such as google.com and google.co.jp, the results revealed significant differences in both round-trip time (RTT) and path taken. When pinging google.com, I recorded an RTT of around 68 ms with 11 hops. In contrast, the other site, google.co.jp, had an RTT of 151 with 12 hops, it traversed more hops, indicating a longer  and more congested route. This highlights how paths can vary based on destination and underlying infrastructure. The relationship between RTT and geographical location became apparent in my tests. It appears that generally, websites with shorter RTTs  were physically closer to my location or were traversing through better infrastructure. In contrast, longer RTTs were associated with the websites located farther away, in particular the more hops, showed a more complex and less efficient routing path. That could also be due to weaker infrastructure as well.

Troubleshooting with Ping and Traceroute Commands

Troubleshooting with ping and traceroute commands are invaluable tools addressing network connections. For example, if a website is not responding, a ping test can determine if the server is responsive. If it time out, it could be another issue with either my connection or the website’s server. Then following up with a traceroute can provide insight into where the disconnection is happening along the network path, making it easier to identify a specific router that may be causing delay or failures.

Several reasons may cause a ping request or traceroute command to timeout or return an error response: Firewall Settings, many servers have firewall configurations that block ping requests to prevent Denial of Service (DoS) attacks. If the ping is blocked it will automatically time out. Routing Issues or Network Congestion, when a network experiences heavy traffic or routing failures, packets may be dropped, and lead to a failed request. This can result in traceroute commands reporting incomplete paths or timeouts at specified nodes. Nodes are a device that is directly connected to a network and acts as a connection point for data transmission.

My experience utilizing ping and traceroute commands significantly enhanced my knowledge and understanding of how data packets travel through the networks and factors that affect network connectivity.

 

 

 

References

TestOut Corp. (2024). CertMaster Learn Tech+. http://www.testout.com

The University of Arizona Global Campus. (n.d.). Guide to ping and traceroute commands Download Guide to ping and traceroute commands. Canvas@UAGC. https://login.uagc.edu

 

Comments

Popular posts from this blog

Programming Languages: Scratch Coding

Programming Languages  Programming Languages Paper: Exploring Scratch and Computational Thinking Charla Miller University of Arizona Global Campus TEC101: Fundamentals of Information Technology & Literacy Programming Languages Paper: Exploring Scratch and Computational Thinking Introduction In this assignment, I had the opportunity to research and explore the logic of computational thinking through a drag-and-drop block programming language called Scratch. This application gets you engaged through the platform and allows users to make interactive stories, games and animations, by piecing together “code blocks”, such as Motion or control blocks visually, this can really help beginners of any age. I created a short program, of 30 code blocks in Scratch, and it resulted in a colorful animation that featured a cat in motion around Spaceship and Space City. This paper will discuss my experience learning the programming language, as well as a comparison to the languages introduced in...

Mobile Web Application Critique

Critique of Google. com   Link:        Google   https://www.google.com Links to an external       Google website and app are one of the best tools that millions of people around the world use to get where they are going on the internet, a tool that acts as a doorway to Googles wide variety of other services too. It is available on both web and mobile app. This app has a user-friendly interface that has an integrated search functionality, personalized news feeds, and access to Google Assistant. This review evaluates the usability, functionality, and design of the Google app, and highlights its core features, and suggests areas of improvement.   Google Search Bar with results                                                                       ...

The Role of Computers and Artificial Intelligence (AI) in HealthCare

Week 4 Discussion1Blog post 5 TEC101   The Role of Computers in Healthcare   Computers play an important role in the day-to-day operations in healthcare . Computers a re indispensable in hospitals, doctors' offices and in medical research and medical billing. Everything from maintaining patient records, scheduling appointments, monitoring vital signs through pacemaker s that can be read 24/7, even having a surgery with a robotic arm con trolled by a computer. (Scott-Clark Med., 2022 ) Other uses a re telemedicine, and medical diagnostic tools, ( like the computer carts at the hospital), the integration of computers into healthcare has revolutionized the way practi ti oners deliver care to their patients. A prime example of healthcare providers managing patient data is through (EHRs) Electonic Health Records. IT allows providers to streamline administrative tasks and i mprove communication between different healthcare departments. EHRs reduce the risk of errors asso...