Traveling Through A Network

This exercise did not turn out how I thought it would. 

My ping sent out 4 packets to the three different web addresses and all 4 packets came back indicating the websites were available. My traceroutes indicate the packets made it to their destinations via multiple routings. 

The ping I found to be interesting in that the ping to Google.au took less time than the ping to Google.com. The ping to Google.jp, on average, was only 2ms longer than the ping to Google.com. I would have expected there would be longer ping times for the packets going out of the country. 

Pinging Google.com, Google.au, and Google.jp

Figure 1.1: Pinging Google.com, Google.au, and Google.jp without a VPN

 

The traceroute surprised me even more than the ping times. The traceroutes to the US site went through more routers than Australia and Japan and even timed out on one of them. Overall, the times were longer for the US site as well. All three of the traceroute attempts were successful, however. I do not have a conclusion as to why Google.com required more hops than Google.au and Google.jp.

INT100 Tracert Google.com.au.jp.PNGFigure 1.2: Traceroute Google.com, Google.au, and Google.jp without a VPN

 

These results made me wonder if the times and results had anything to do with my Virtual Private Network or VPN. When I checked, my VPN was not on. I had forgotten to turn it on when I started my internet session. I went down the rabbit hole, so to speak, to see how turning it on would change the results.

I Googled whether a VPN would affect ping times and learned that a VPN always increases ping times and the VPN location can also have an effect on ping times (Williams, 2021). With that information, I began experimenting. 

On the left is the ping for Google.com and on the right is the ping for Google.jp with a VPN in the US. The times are identical. However, slightly longer, on average, than the ping (Fig: 1.1) for Google.com without a VPN.

INT100 Ping Google VPN US.PNG

Figure 2.1: Pinging Google.com and Google.jp with VPN in US

 

In the experiment below, the ping and traceroute on the left is with a VPN in the US. Google.au was not recognized, so I changed the VPN to Australia and those results are on the right. It still was not recognized.

INT100 Ping Google VPN.PNG

Figure 2.2: Ping and Traceroute Google.au with VPN in the US (left) and Australia (right)

 

After that experiment, I wanted to see how the traceroute times compared for Google.jp with a VPN from the US and from Japan. The traceroute using a VPN from the US timed out on 19 of the 30 hops, or 63%, and this traceroute utilized the maximum number of hops and in the end, was not successful as the packets did not reach the destination at Google.jp. On the right is the traceroute for Google.jp using a VPN in Japan. This traceroute timed out on only 5 of the 20 hops, or 25%, and was a successful traceroute as some of the packets reached their destination. The times were much longer compared to Fig. 1.2. Because 5 of the attempts timed out, there may have been a loss of packets. I concluded with this experiment that the traceroute was successful only when my IP showed that I was in the same country. When the IP was showing as being in a different country and using a VPN it took too long to contact each router. 

INT100 Tracert Google.jp VPN.PNGFigure 3.1: Traceroute Google.jp with VPN in the US (left) and Japan (right)

 

In the end, I do not understand why Google.au was not recognized when attempting to ping or run a traceroute when using a VPN but Google.jp was recognized. I also tried Google.de using a VPN in the US and it was recognized.

 

 

References

Williams, J. (n.d.). Do VPNs affect ping? x examples (actual lag time). Techpenny. https://techpenny.com/vpns-and-ping/#:~:text=Using%20a%20VPN%20will%20always,the%20BEST%20POSSIBLE%20ping%20time!

Comments

Popular posts from this blog

Programming Languages and Scratch

Documenting A Day