1
This is more a question for clarification then a request for a solution. I've read a lot of questions and answers regarding MTU tweaks on routers and devices but I don't understand what's happening to my home setup.
My ISP gives me a solid 100 Mbps passive fiber optic connection to the Internet. I have no problems with regular sites and servers, but my corporate VPN (Cisco Any Connect) was always giving me timeouts when accessing company's intranet sites.
A simple ping test showed losses of about 45% (very high loss rate). Only when connected to the VPN.
Before reach the main ISP router (fiber) I have a Wifi router where my computer is conected to through Ethernet LAN port, so I'm using 2 routers in my setup.
PC <--> WiFi Router (10.0.0.0/24) <--> ISP fiber router (192.168.1.0/24) <--> Internet
After a long time searching I started to tune up MTU in my Ethernet interface connected to corporate VPN using these commands (My computer is running Windows 10 Pro):
# Find the best MTU size without fragments
ping www.google.com -f -l 1294
# List interfaces and MTU
netsh interface ipv4 show interfaces
# List subinterfaces
netsh int ipv4 show subinterface
# Change MTU for Ethernet Card
netsh int ipv4 set subinterface "Ethernet" mtu=1294 store=persistent
As you can see, after a lot of tests I could find this value of 1294 as optimal. In fact with 1464 there was no fragmentation, but the Intranet sites only worked when I changed to 1294.
By now, setting 1294 on the PC I can access all intranet sites and connections flawlessly, without any dropout or timeout (the ping loss rate drops to <5%).
Then I turned back the value of my PC Ethernet card MTU to 1500 (the Windows default) and then changed MTU on my 2 routers to 1294 and rebooted them, rebooting my PC as well. I tryed to change only on each one at time, but changed on both in the end.
However... changing the MTU values on routers doesn't affect my PC connections. I need to change the MTU for the Ethernet card to work without errors when connecting to the VPN.
It should be that way?
BTW my ISP connection is pretty solid. Testing ping with many sites outside VPN gives me absolutely no losses.
What exactly is your network adapter? – harrymc – 2018-10-25T18:14:50.267
@harrymc is an Intel Ethernet adapter (onboard in my ASUS Z97M-PLUS mobo). Does this make any difference? I also tested in my Lenovo ThinkPad T-480 with another Intel Gigabit Ethernet adapter and still the same behavior on both computers. The cable is a CAT5e Furukawa certified. Wifi router is an Intelbras R1200 (brazillian brand, but a very good Wifi router). Before any doubt with my WiFi router I also tested the ethernet connection direct to my fiber router and everything is the same. – adamitj – 2018-10-25T20:26:25.130