Traveling Through a Network
Well, learning about the two different commands, I have learned a lot from both commands, ping and traceroute. The ping command is used to communicate with a specific website or address to see if the computer and website are communicating. The ping command in troubleshooting can be used to see if a computer and a website or address communicate. In my three trials, I got no lost packets, meaning my laptop communicates perfectly fine with all the websites. The tracerouting command is used to communicate with the same websites, but it maps out all the routers it hits before getting to the website. It's a road map of all the routers hit by the website.
The difference in geographic locations makes a difference; if I traceroute a website hosted on a local server, it would take fewer hops to get the website to respond. Like the international websites, it took more hops to get to the location. Tracerouting, as a troubleshooting command, can pinpoint where the lost connection happens. If you are trying to reach a website and cannot get through, you would ping it first to ensure a connection. Once you know a connection is lost, you can run a traceroute to pinpoint where the issue is happening. The traceroute can help you determine why the lost connection is happening, whether it is a local network issue, a problem with the internet service, or an issue with the destination server's network.
Both
commands have a purpose, but also work together. Learning about what they both
do and how they can help someone to troubleshoot shows how useful they can be.
Professor Barr let me know that both commands can be useful to developers when connecting to various servers. Denis Eksler also had a question on my post that I also had, we questioned the reason why, when we ran the traceroute command, Google had the most hops, but still the fastest to load. Denis let me know that this was probably caused by the fact that Google has more access to multiple servers, making it faster to access.
Comments
Post a Comment