Community discussions

MikroTik App
 
cinders
newbie
Topic Author
Posts: 46
Joined: Fri Oct 28, 2011 3:09 am

I suspect MTU problem with hotspot. Can anyone help?

Thu Jul 05, 2012 11:10 am

Hi Guys,

I think I am having an MTU issue with Mikrotik hotspot and specific ISP's I am using here.
With one ISP that uses ADSL and PPPoE, I have no issues. Pages load fine.
With the others that use Fiber and PPPoE, I have problems with pages not loading, for example apple.com and yahoo.com won't load, they just sit there "Connecting..." forever.

To break it down:

1.) One ISP is via ADSL connection. MTU is set to 1492 (I used ping to work out packet fragmentation) - the connection works fine. apple.com and yahoo.com load with no problem.
2.) With both my ISP's that use fiber, apple.com and yahoo.com won't load. I have set MTU to 1492 (again used ping to work out packet fragmentation)
3.) If I set up a basic connection with no hotspot, MTU to 1492, then it works fine with the fiber connections.

It seems something within the hotspot is causing this. However, if I plug the same board in to my ADSL connection without changing anything but pppoe username/password it works fine.

Can anyone help or advise on what I can try next?

Thanks,
Matt.
 
cinders
newbie
Topic Author
Posts: 46
Joined: Fri Oct 28, 2011 3:09 am

Re: I suspect MTU problem with hotspot. Can anyone help?

Thu Jul 05, 2012 2:40 pm

OK. I used http://www.speedguide.net:8080 using the same fiber line on the system at works and on my system with hotspot.

These are the differences. The question is, how to I modify my hotspot set up to reflect the same settings?


hotspot (pages don't load):

« SpeedGuide.net TCP Analyzer Results »
Tested on: 2012.07.05 07:32
IP address: 101.109.xxx.xxx
Client OS/browser: Windows 7 (Firefox 13.0.1)

TCP options string: 020405b40103030201010402
MSS: 1460
MTU: 1500
TCP Window: 65700 (multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 16425
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 2628kbps (329KBytes/s)
BDP limit (500ms): 1051kbps (131KBytes/s)
MTU Discovery: ON
TTL: 112
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)




no hotspot (pages load):

« SpeedGuide.net TCP Analyzer Results »
Tested on: 2012.07.05 07:35
IP address: 101.109.xxx.xx
Client OS/browser: Windows 7 (Firefox 13.0.1)

TCP options string: 020405a00103030201010402
MSS: 1440
MTU: 1480
TCP Window: 66792 (NOT multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 16698
Recommended RWINs: 63360, 126720, 253440, 506880, 1013760
BDP limit (200ms): 2672kbps (334KBytes/s)
BDP limit (500ms): 1069kbps (134KBytes/s)
MTU Discovery: ON
TTL: 112
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)
 
cinders
newbie
Topic Author
Posts: 46
Joined: Fri Oct 28, 2011 3:09 am

Re: I suspect MTU problem with hotspot. Can anyone help?

Thu Jul 05, 2012 4:19 pm

I've played around with settings for hours and with the hotspot enabled, the MTU is always set to 1500 and MTU 1460.

It seems the hotspot settings override the settings for PPPoE Client.

Can anyone advise how I can set MTU to 1480 with hotspot enabled?
 
alphahawk
Member Candidate
Member Candidate
Posts: 101
Joined: Fri Mar 28, 2008 6:40 pm

Re: I suspect MTU problem with hotspot. Can anyone help?

Thu Jul 05, 2012 8:07 pm

/ip firewall mangle
add action=change-mss chain=forward comment="Fix for MSN and Yahoo Web Pages" disabled=no new-mss=1440 passthrough=yes protocol=tcp tcp-flags=syn hotspot=auth
this is the fix for compatability issue with some adsl providers (/cough century link /cough). adding the hotspot=auth at end will make it so only take effect if they have authenticated to hotspot. You can just leave it off if you want.
 
cinders
newbie
Topic Author
Posts: 46
Joined: Fri Oct 28, 2011 3:09 am

Re: I suspect MTU problem with hotspot. Can anyone help?

Fri Jul 06, 2012 3:02 am

:D T H A N K Y O U :D

It worked!

I had already tried different versions of this with no joy. However the "hotspot=auth" seems to have done the trick. Thank you so much.
 
cinders
newbie
Topic Author
Posts: 46
Joined: Fri Oct 28, 2011 3:09 am

Re: I suspect MTU problem with hotspot. Can anyone help?

Fri Jul 06, 2012 4:26 am

Actually, my mistake. I didn't realise this had to be the first rule. Doh! :?

Who is online

Users browsing this forum: No registered users and 149 guests