Why am I getting latency between my modem and my router?

0

I pay for a 15mbps down, 1mbps up DSL internet plan from TekSavvy Solutions (Canada). At least once or twice a week there will be moments where we get speeds much lower than advertised.

When I notice the internet is particularly slow I test this by doing a Speedtest(.net). Often times the download speed is between 6mbps and 13mbps, sometimes as low as 2mbps.

I play the game League of Legends where I will experience random spikes in ping throughout my playing time. The ping rarely remains stable across consecutive days without variation of ~10ms-20ms.

While troubleshooting a ping issue with League of Legends in which the ping spikes over 100ms I completed a series of troubleshooting steps, one of which revealed a 41ms latency between my modem and my router.

This problem surfaced a couple months ago and it was suggested I replace my 5 year old D-Link router, which I did. It appears the router replacement did not solve the latency between the modem and the (new) router.

I have also used the Android app "Wifi Analyzer" to ensure my router is on an optimal channel. The app shows I have nearly -40dBm signal and using the best possible channel.

I am tired of trying to solve this problem every 3-4 weeks and would love to finally end all of these internet issues.

How can I find out what is causing the latency, and how can I finally solve it?

Stn

Posted 2015-08-25T22:34:19.767

Reputation: 31

Are you double Nat'ed? Meaning you basically have 2 routers (not by "meaning" per se). > Double NAT is a scenario where multiple routers on network are doing network address translation. Common example is a Cable or DSL modem, to which a Wi-Fi router is connected. Both modem and router have NAT enabled. Computers on the network are connected to Wi-Fi router. – Joshua Haber – 2015-08-25T23:03:45.707

I'm not sure. I can check. Would this be an issue? – Stn – 2015-08-25T23:39:08.370

It usually is with almost all things. General you want your router to send traffic straight to the internet - not to another device and it send the traffic. I would put the modem in bridge mode and let your router do it's job. It's the best architecture for handling things. – Joshua Haber – 2015-08-26T00:27:06.043

Answers

0

When using WIFI you will always be at the whimm of those arround you - you really need to switch to a wired connection to guarantee a stable, low latency connection to your router. Its quite probable that even when using the best WIFI channel other channels with overlap and interfere with your performance. (there are only 3 non-overlapping channels in the 2.4 gig band). Just because its the best channel does not mean its good enough !

Also, in a home user scenario, a cabled connection will have a lower latency (and more bandwidth) then a WIFI connection.

You may also want to get a variant of MTR (winmtr is for Windows I think), which can tell you where the latencies are coming in. The problem could also be that your computer is not fast enough [ at least that used to be the case when I played online games - sometime in the dark ages ].

The problem is almost certainly not double NAT as this would not have a significant impact on latency.

davidgo

Posted 2015-08-25T22:34:19.767

Reputation: 49 152

Also worth commenting - try replace the cable between your router and modem, and be aware that - particularly when devices are under heavy load pings to a device may give false readings due to the way ip stacks and packet forwarding work. If you have lots of small packets its entirly probable your router or modem is simply not fast enough. – davidgo – 2015-08-26T02:42:32.950

In another troubleshooting session I completely reset my modem and router and discovered a possible issue with my old configuration. My modem was in bridge mode, but it has the DHCP server turned on while my ISP explicitly states to leave that setting off. Could that have been a big issue? – Stn – 2015-09-02T01:52:09.617

Absolutely. If your router is acting as a DHCP server you are hurting not only yourself but other people on your connection. When bridging you should have the DHCP server off unless you know what it is. That said, it is highly unlikely that the slow speeds you describe relate to DHCP. – davidgo – 2015-09-02T05:54:11.127

-1

There may not actually be a problem with your modem. Since the network stack isn't necessary for a modem, it might just be that your modems OS is either shoddy or runs on inadequate hardware.

On the other hand, I wouldn't use a separate modem with a modern router, at least not, if it has a built in modem for the DSL-standard you're using.

With the information you have given, there are still some basic things you can try:

  • Make sure your modem is actually a modem and not a mis-marketed/-labeled router - that would change potential causes and solutions
  • Connect to your router via Ethernet cable. Your WiFi shouldn't be a problem at -40dBm, but one never knows.
  • If that doesn't help, try pinging different destinations. At least here in Germany, local (tech) news sites tend to have great latency. If other destinations respond as expected, i.e. within your regular window of 10-20ms
  • Make sure your have no computers with malware in your network. Depending on what that malware does, it can use a lot of bandwidth and that can, depending on your router, increase your pings by a lot.
  • Similarly, make sure you have no freeloaders on your network.
  • Replace your modem. I have had better experiences with routers with built-in modems than separate ones, but that might be different for you.
  • There may be problems that are out of your reach. DSL is a wonderfully simple technology when it comes to cables: it only needs a twisted pair of relatively thin wires. That, however, makes it susceptible to magnetic fields of electrical wires, for example. Usually that would be more obvious, since current on electrical wires is less infrequent. However, if your phone line runs parallel and close to a line that is used only by a washing machine, for example, and that washing machine is used very rarely, you would see increased ping times, increased packet losses and, of course, reduced bandwidth. Your DSL provider should be able to test the line quality, if the problem continues for at least an hour during business hours, if their support nows their stuff.

PaterSiul

Posted 2015-08-25T22:34:19.767

Reputation: 338

-2

I will tell you my story. I went from HORRIBLE LAG/BAD PING/LOW speeds buy upgrading my old all DOCSIS 2 model and sepratre router - to a new DOCIS 3.0 model & router IN ONE! that means there is no need for a entire 2nd unit/processor which only adds DELAY to process signal from the first - and this has DECREASED my PING from 100MS to just a blazing fast and woppping 15ms!!! THe gameplay has improved soo much its like buying a brand new computer or something... Its insane how smooth the game runs now... And doing this change has has increased my down speeds from 30Mbit to 70Mbit - and upload speed has increased from 1.5Mbit to a freken whopping 5Mbit!!! So I can say now the lagg probably came form from the upspeed.. 1Mbit compared to 5x that is bigg difference.. plus the new models use multiple threads/connections - to speed up the overall transfer of data (LESS LAGG) added to that I now dont have to pay the rental fee from the cable company for their stupid modem of $5.99 per month - which means my new model/router pays for itself in the first year and is free for the 2nd or 3rd year.

The cable company had me on a 100Mbit plan, but yet they didnt upgrade the 4 year old model they installed 2 years ago.. That modems MAXIUM CAPACITY IS FREKEN 15 Mbit!!!! So I am surpised I was even getting 30 Mbit with it... Now that I upgraded 70Mbit (7.7MBPS download speeds) and uploads of around 4-5Mbit is amazing compared to 1Mbit (1/4) i was getting before.. Also ping dropped from 100-150ms to 5-15ms - which is BEYOND AMAZING!!

Do yourself a BIG FAVOR ,buy a router+model in one (DOCSIS 3) that is approved for your ISP - and watch your speeds double or tripe and your ping reduced by 50-150%

Also make sure you buy CAT-7 cable for that new model/router.. Note that cat5 cables are OLD and not ment for todays world even tho 70% of people still always buy cat5. Buy cat7 cable from your pc/console to the model - cat7 is used for the cabling infrastructure of Gigabit Ethernet. A CAT 7 cable offers performance of up to 600MHz. Put simply, a CAT 7 cable is much muchh better

Sebi G

Posted 2015-08-25T22:34:19.767

Reputation: 1