4

Recently I have switched ISPs. In both cases the CAT5 cable goes directly into MY wifi router (ASUS RT-N66U), with no remote management. However, after the switch, WiFi speed has decreased considerably, although the router remained the same. When I do a wired connection to one of the router’s LAN ports, I get the expected speed/bandwidth (100Mbps). On wireless however, the speed is almos 5x slower.

I have tried a different wireless router, different wireless clients (Mac, Windows, iPhone), results are the same. I have even tested live switching the WAN cable between ISPs while both were active, and the change in wifi speed is also immediate.

Edit: I am located in Europe, and for measuring the speed I'm downloading a 1000mb test file hosted by a European network provider (Leaseweb). I also have a VPS hosted there so I could install iperf if necessary. I am not using ISP provided DNS settings, but Cloudflare / Google instead, which also doesn't make a difference.

10
  • Did you test your WiFi speed before the change? Or did you only notice after?
    – CustomX
    Commented May 28, 2019 at 9:17
  • 1
    @CustomX hello, it is written in the question “speed has decreased considerably”. Also, when plugging the old ISPs cable, the wifi speed goes back to normal.
    – user81496
    Commented May 28, 2019 at 9:20
  • It makes no sense WiFi would be slower, if you use the exact same hardware and only the ISP has changed. Are you in the same network when connected wirelessly and wired?
    – CustomX
    Commented May 28, 2019 at 12:16
  • 1
    @CustomX yes I am, and I know it doesn’t make sense, that’s why the question
    – user81496
    Commented May 28, 2019 at 15:02
  • 1
    Can you explain precisely how you are measuring the speed? Commented May 30, 2019 at 18:37

1 Answer 1

1
+150

The difference might lie in the different nature of the TCP packets that are sent for wired and wireless communications.

The MTU for wireless networks is said to be larger. The article Wireless Packet Sizes claims it to be 2,312 bytes including packet headers. This is larger than the Ethernet recommendation for wired networks, which is 1,500 bytes. Note that communication with the ISP might require adding an extra header of eight bytes which reduces the maximum packet size to 1,492 bytes (which was also the optimal size I found in some testing done some years ago).

Wikipedia Maximum transmission unit (MTU) gives more details:

IP MTUs for common media

enter image description here

Possibly the infrastructure of your ISP badly handles large packets, when it needs to split up into smaller packets to pass through the ISP's network. The process as done inside the ISP's network might be so inefficiently programmed as to slow down the transfer speed.

This conjuncture that the problem lies in larger TCP packet size is perhaps supported by the fact that wireless traffic traveling within your network is not reduced in speed. Seemingly, your router better handles such packets.

Check if your router can be configured to limit packet size to 1,492 (or less) bytes, for both wired and wireless. If it is not possible, try to get help from your ISP Support, or possibly even change ISP (again) if their infrastructure is so badly configured (or change the router).

User @DanielK pointed to the article Changing the MTU size in Windows Vista, 7 or 8 where these commands were suggested, running in an elevated Command Prompt:

List all network interface ids:

netsh interface ipv4 show subinterface

Set the MTU Size:

netsh interface ipv4 set subinterface "interface-id" mtu=<size> store=persistent

Reboot is required after this last command.

This might also be required to be done for ipv6. If it works for you, then this is a workaround that can let you keep your current ISP (still at the cost of some throughput).

10
  • @develroot If you try this, and it works, please report back to let us know. Commented May 30, 2019 at 20:55
  • @harrymc I can not see the reasoning behind this. Router's WAN MTU is 1500, meaning that all packets that are sent to ISP have a MTU of 1500, regardless of the source (wifi or ethernet). And you can not set the MTU "for both wired and wireless" on the router side, because MTU is a client setting, (hence the WAN MTU setting). Am I wrong?
    – user81496
    Commented May 31, 2019 at 7:32
  • @develroot I think this is an interesting approach. How about you capture some wireless traffic using a sniffer and see if the packets are indeed larger than wired packets?
    – Daniel K
    Commented May 31, 2019 at 7:52
  • I concur with @DanielK. Without some sniffing it would not be possible to know what is really going on here. It might help to know the make & model of the router in question.
    – harrymc
    Commented May 31, 2019 at 8:26
  • 1
    @develroot as an experiment could you alter the MTU on a wireless test client to, say, 1400 bytes? This article could help support.zen.co.uk/kb/Knowledgebase/…
    – Daniel K
    Commented Jun 1, 2019 at 7:42

You must log in to answer this question.