MTU issue on university's iotroam wifi network #3083
Replies: 2 comments 4 replies
-
The something called path MTU discovery which might let a full fat IP stack like on your phone discover the maximum MTU, but that's not in LWIP as far as I know. So you'll need to manually set the MTU here. Unfortunately it looks like you'll need to edit the source because there's not a nice exposed way to set the MTU on a WiFi interface. (The WiFi drivers differ from the wired ones by having a second level wrapper for all the link control... The wired Ethernet drivers can take MTU as part of the eth.begin() call). |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Pico 2W running a simple server, connected over wifi with university's iotroam network. HTTP response packets with payload larger than 1404 bytes disappear. ping -l 1416 to Pico 2W works, but ping -l 1417 (and higher) is unreachable. Clearly an issue with MTU limit. iotroam sysadmin explained that due to encapsulations the iotroam MTU is not the usual 1500, but 1472 bytes, and for wifi a bit lower. Connecting to mobile hotspot on my phone has zero issues. Is it the iotroam router's fault or an issue with Pico 2W's IP stack drivers?
Beta Was this translation helpful? Give feedback.
All reactions