After I posted this story on Rogers apparently having issues with lag spikes while playing online games, I got a couple of e-mails asking for a tutorial on how Traceroutes work and how to use them as a tool to troubleshoot issues with your Internet connection.
On a PC, Traceroute can be executed from a Windows “command window” (aka a DOS box) with this command: tracert destination
On a Mac, Traceroute can be executed from the terminal window. If you need help getting to the terminal window, this YouTube video will assist you. Once inside the shell, you use this command: traceroute destination
In both cases, destination is the web server, game server or other Internet destination that you’re troubleshooting.
For this example I will be using google.com as the destination:
tracing route to google.com [74.125.226.133]
over a maximum of 30 hops:
1 2 ms 3 ms 1 ms 216-191-50-161.dedicated.allstream.net [216.191.
50.161]
2 2 ms 2 ms 2 ms ae0.gw2-tor.bb.allstream.net [199.212.160.222]
3 4 ms 2 ms 2 ms 216.191.190.154
4 2 ms 3 ms 2 ms 209.85.255.232
5 3 ms 2 ms 2 ms 209.85.250.7
6 79 ms 8 ms 2 ms yyz08s14-in-f5.1e100.net [74.125.226.133]
Trace complete.
What you’re looking at looks complicated, but it can be broken down like this:
- On the left is the hop number in order from your computer to the destination.
- The next three numbers are the round trip time (RTT) or the time it takes for a packet to get to a hop and back, displayed in milliseconds (ms). By default, traceroute sends three packets to each hop, so the output lists three roundtrip times per hop. RTT is sometimes also referred to as latency. An important factor that may impact RTT is the physical distance between hops.
- On the right is the IP address and system name for that router or system
So in this example there were six hops to get to Google.com (or in this case, the computer in Toronto that is pretending to be google.com as the company balances the load of requests based on geography). Now in this example, there’s no problems getting to google.com. But how would you know if there were problems? I’ll cover some common examples.
Let’s take hops 5 and 6 and make them look like this:
5 345 ms 223 ms 231 ms 209.85.250.7
6 793 ms 885 ms 454 ms yyz08s14-in-f5.1e100.net [74.125.226.133]
Having two or more hops in a row with high millisecond times is an indication of a problem. You can’t tell what the problem is from the traceroute, but you can clearly tell that something is up and it would give a network engineer a place to start looking. In principle, RTT values of less than 150 ms from your computer to the final destination shouldn’t be an issue. Many applications work just fine with latencies even higher than that, but for sites that are North America based, they should fall below 150 ms and usually are < 100 ms.
Now let’s say you see this on hop 5:
5 209.85.250.7 reports: Destination net unreachable.
The device on 209.85.250.7 has determined that there is not a valid path. That implies a router problem or the network does not exist. Again, this does not tell you what the issue is, but it would give a network engineer a place to start looking.
You may also see this from time to time:
2 * * * Request timed out.
There are several reasons why a “Request timed out” message may appear at the end of a traceroute:
- The destination’s firewall or other security device is blocking the request. Even if a firewall is preventing the final hops at the destination from showing up in traceroute output, the destination is likely still reachable. In other words, this may be normal.
- There could be a problem on the return path from the target system. Remember the round trip time measures the time it takes for a packet to travel from your system to a destination system and back. The forward route and the return route often follow different paths. If there is a problem on the return route, it may not be evident in the command output.
- There may be a connection problem at that particular system or the next system.
In short, there may or may not be a problem here. Further investigation by a network engineer may be required.
So, how would I use it to troubleshoot a game that has lag spikes? I would set the destination as the game server that I am connecting to and run several traceroutes at different times and compare the results. That should give you an indication as to if there is a problem or not. I would then present the evidence to the ISP so that they can troubleshoot the issue with some guidance as to where to look.
If you have questions on this, leave a comment below and I will do my best to answer it.
Is It Time To Make The Internet An Essential Service And Hold Canadian Telcos Accountable For Providing That Service?
Posted in Commentary with tags Canada, Internet on May 18, 2022 by itnerdBack in 2016, the CRTC said that high speed Internet was “essential”. This is what they meant by that at the time:
As part of declaring broadband a “basic” or essential service, the CRTC has also set new goals for download and upload speeds. For fixed broadband services, all citizens should have the option of unlimited data with speeds of at least 50 megabits per second for downloads and 10 megabits per second for uploads — a tenfold increase of previous targets set in 2011. The goals for mobile coverage are less ambitious, and simply call for “access to the latest mobile wireless technology” in cities and major transport corridors.
The CRTC estimates that some two million Canadian households, or 18 percent of the population, do not currently have access to their desired speeds. The $750 million government fund will help to pay for infrastructure to remedy this. The money will be distributed over five years, with the CRTC expecting 90 percent of Canadians to access the new speeds by 2021.
The new digital plan also touches on accessibility problems, with CRTC mandating that wireless service providers will have to offer platforms that address the needs of people with hearing or speech disabilities within six months. Blais said this timeline was necessary, as the country “can’t depend on market forces to address these issues.”
Fast forward to 2022 and this really doesn’t go far enough to address what I think “essential” means to Canadians. Given that a lot of us still work from home, and the Internet is the difference between earning a paycheque and not earning one, or learning and not learning, I think that this needs to change. Now Public Safety Canada has a list of what it defines as “Essential Services” which it defines as this:
Canada’s National Strategy for Critical Infrastructure defines critical infrastructure as the processes, systems, facilities, technologies, networks, assets, and services essential to the health, safety, security or economic well-being of Canadians and the effective functioning of government.
And while this list does list “Information and Communication Technologies” as part of this, I think it needs to go further to include not only the Internet specifically, but it should also include telcos like Rogers, Bell, and Telus so that they are responsible for maintaining and resolving issues to a high standard. As in resolving issues within hours and not days. And having a minimum uptime guarantee that said telcos are held accountable to. Now I know that Rogers, Bell, Telus and others would say that this isn’t required and they go above and beyond for their customers. But while I agree that these telcos do the best that they can to resolve customer issues in what they consider to be a timely manner, I don’t think that’s good enough. When the Internet goes out for a single home or a group of homes, even for a few hours, there are people who aren’t learning or making a living. That affects the economy. That alone makes it worthwhile to explore this idea and to take action to make it reality. And perhaps if something like this came into effect, telcos would spend a lot more time and effort to ensure that their networks were resilient enough so that outages became corner cases. That would be good for all Canadians.
What do you think? Should Canada do more to make the Internet an “essential service” as I’ve described above? Please leave a comment and share your thoughts.
Leave a comment »