-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lower ZT_MIN_PHYSMTU #2361
Comments
This seems like something that must be auto-configured. I just had to compute the MTU was 1194 (manually, using It is unlikely that 100% of ZeroTier users are going to be able to A) determine that this is necessary, and B) figure out how to do it, and B) repeat the process each time every ZeroTier interface is dynamically re-created! What's the right solution? |
Yeah I also ran into this issue. |
ZeroTierOne.h
This seems to work, with a local.conf like this:
576 is allegedly the minumum for ipv4.
If I set MTU to 510, the real packets are 576 in tcpdump, so maybe 510 is the right minimum.
Was looking at this because people on cell connections get stuck sometimes.
They lower the virtual mtu and that works by side effect.
This way users can set the MTU based on the physical connection.
They could use a different value for IPv6 traffic also.
The constant is used in only 1 place.
The text was updated successfully, but these errors were encountered: