Apples drop packets wifi and LAN, Win7 is OK

What should we be checking that would cause 2 MACs and an iphone to have issues while several Windows 7 systems do not?


They connect to the wireless AP okay, but then fail to reach anything. Or a user can pull up Google and do a seach, but then it dies when he clicks a link - i.e. cannot move on to a non Google page. Or the title bar of a webpage will load, but not the page itself. We have gotten as far as diagnosing that incoming packets are dropped before they get back to the computer or phone.


- we ruled out that it's an issue with the wireless AP device - one of the MACs running 10.8.3 - I saw the recent 10.8.4 update specifically mentions wi-fi, so I asked him to update that. So he connects with a cable to the LAN, and what do you know, he experiences the same issue!


- Ruled out DNS - we verified the proper DNS were showing up - and the issue even occurs when connecting straight to the IP addresses.


- Ruled out DHCP - DHCP requests are offered and ACKd just fine; we also set the MAC with a static IP which regd fine. We were able to ping whatever IP and use could ping out just fine.


- When accessing a website that we control, the web server access logs record a proper page request from the expected public IP with Apache code 200 (success) and the number of bytes served. The MAC is mostly unable to load the page at all, or as mentioned, will only load partially.


- Issue is not limited to web browsing - they cannot use mail (POP/SMTP) on iphone connected to the wireless AP. Must disconnect and get the mail via the mobile carrier connection. Also established on one of the MACs using terminal, an FTP connection to a server, able to list files, but GET commands fail. The server's FTP log says the connection was aborted.


These 2 MACs and iphone don't have issues on other networks. None of the Windows machines have issues on this network.

We had one MAC connect right into the DSL modem (which is in bridge mode because we use our own router) - set the proper network parameters. Same results - he calls up a webpage it won't load though the web server logs the request as 200 OK and the bytes sent. So same issue, now we've ruled out the router because it wan't even in the path.


Seems like a line issue - which the ISP is going to check - but why would it only be affecting the Apples?

OS X Mountain Lion (10.8.3)

Posted on Jun 18, 2013 2:34 PM

Reply
9 replies

Jun 19, 2013 3:53 PM in response to JJD_Ottawa

I think Apple needs to decrease the default MTU setting on its devices - just a tad, but still...

Turns out something here on this network at thie location is limiting packets to 1500 MTU. Research has led me to find out that many routers default are 1500.


The Macs needed to have their MTU decreased to 1492 to accomodate 8 bytes overhead to clear the 1500 limit here. User still unable to use his iphone - doesn't seem to be a way to adjust the MTU on it ?


I think Apple should lower the default MTU they built into the MACs and iphones to 1472 (28 bytes overhead needed with some auth schemes). By contract, checking my Windows interfaces, they are set at 1300.

[ DOS command: netsh interface ipv4 show subinterface ]

Hence, none of the Windows users here had any issues because they were asking for packets well below the threshold.


On the one hand, you may think it makes sense for us to find the one device that is limiting here on this network and increase it so that any future Apple users who come in won't have a problem. On the other hand, they may still run up against this issue bringing their devices onto other networks. It may be better for them to adjust their devices so they will be compatible on more networks.


Seeing the number of forum posts all over now referring to wifi and MTU with MACs, I think Apple should fix their default! Obviously they are too forward thinking - many networks haven't caught up with being able to handle larger packets yet.

Jun 19, 2013 4:06 PM in response to JJD_Ottawa

JJD_Ottawa wrote:


why would it only be affecting the Apples?

Have you considered the possibility that it is only your network that is affected? Apple literally can't make devices fast enough. It isn't a problem for tens of millions of Macs and hundreds of millions of iOS devices. The fact that you have already set your MTU to a very unusual value seems to indicate a problem on your end.

Jun 19, 2013 5:34 PM in response to etresoft

"It isn't a problem for tens of millions of Macs and hundreds of millions of iOS devices."


Well, it's a problem for _enough_ of them that forums all over are littered with MAC/wif-fi issues being solved with adjusting the MTU on their MAC or ipad or telling them to turn off "Jumbo frames" in their router. I think many of those users would actually experience the same issues on LAN, but they are only using wi-fi and hadn't even thought to check to rule out being strictly a wi-fi issue.


"The fact that you have already set your MTU to a very unusual value seems to indicate a problem on your end."


I don't connect to that network. In fact, though my Windows 7 interfaces are set at 1300 [NOT BY ME], here my router can ping at 60000 without fragmentation = no limit here = no reason why they would ever have been adjusted. My windows pings fragment anything above 1272 = it's allowing 28 bytes for overhead with its 1300 limit and falling way below most of the default standard MTU for different data types.

[ DOS command: ping yahoo.com -f -l 1273 ] "packet needs to be fragmented"

ping yahoo.com -f -l 1272 (the ping succeeds)

On my router there is an area I can run pings from and it allows me to set the packet size - 60000 doesn't fragment. That tells me my network here is not limited. My computer's interfaces are set with low enough MTU to requestand handle small enough packets to respect any limits it may encounter which cover many standard data types. Whether that's Windows or Toshiba that set it?????


User uploaded file


Commands for ping test to determine MTU on OS X and linux can be seen here: http://www.dslreports.com/faq/695

or here http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=386


Where my Windows interfaces state 1300, but actually only handle 1272 (leaving room for up to 28 bytes overhead)... I wonder if Apple's default MTU of 1500 is not accounting for any overhead... since adjusting it to 1492 works + 8 bytes for UDP overhead = 1500.

Jun 19, 2013 5:49 PM in response to JJD_Ottawa

For sure our recent changes to that network introduced a piece of equipment which is now limiting them to 1500. But all of the Windows, Androids, and BBs had no issues. I have found several manufacturers whose networ devices are set at 1500. I'll be investigating if any of the Cisco units are miscalculating for overhead. Can any of yoru MAC users post your hardware MTU settings along with results of the ping test to find your MTU size?

Jun 19, 2013 7:39 PM in response to JJD_Ottawa

JJD_Ottawa wrote:


forums all over are littered with MAC/wif-fi issues being solved with adjusting the MTU on their MAC or ipad or telling them to turn off "Jumbo frames" in their router.

Your network is just misconfigured. You shouldn't be worrying about pings and bytes of overhead. Use default settings for all of your equipment and everything will work fine.

Jun 20, 2013 3:14 PM in response to JJD_Ottawa

It's an aDSL line - it is correctly configured to accept max packets @ 1492 to allow 8 bytes for pppoe = total 1500 for internet traffic.


And yes, Linc Davis, you are correct! Windows is also using 1500 as the default MTU. It seems mine are set low at 1300 to accomodate VPN...


Regardless, there is also supposed to be a 'conversation' of sorts. If any device in the path between source and destination cannot handle the packet size being sent - there's something called "path mtu discovery" whereby a bit of back&forth communication occurs to determine the optimal size.


I found an extremely "laymen-friendly" explanation of what should be going on.

http://www.netheaven.com/pmtu.html


Now the Windows also set with 1500 by default, yet appear to be successfully negotiating to find a value that works. I found an MS kb which stated it would use a manually set MTU only if it was lower than the optimal MTU determined by discovery. i.e. you can not force Windows to use a higher MTU that is incompatible for the network.


So my next question is whether recent MACs implement "path mtu discovery" by default? Or is Apple's philosophy that it's better to manually adjust your MTU to match the network you are using? There's an outdated Apple kb article [TA36590] about how to disable it. And there's a few current KB entries teaching how to alter your MTU if instructed by your network admin. Now, lowering it manually shouldn't really be necessary if discovery works unless you're seeing performance hits due to the extra time 'negotiating'? Yet they've got it at the highest "common" value. So what's its current default state of pMTUd?


And if it should be happening by default, where can we check in the MAC to see whether something had been done to disable this on these MACs? The above article references some back end voodoo akin to fiddling in Windows registry. It would seem plausible that some firewall adjustments or tweaking for video watching or gaming could be the culprit.

Oct 2, 2016 6:03 AM in response to JJD_Ottawa

I had a similar problem with an Asus router. The wifi was fine and the ethernet connect had 20% packet loss or more. Changed the advanced ethernet setting to manual configuration and hardware config to manual - full duplex flow control (turning off power saving option) and all works fine now. No packet loss. Thought it was MTU config but that made no difference in the end.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apples drop packets wifi and LAN, Win7 is OK

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.