Interface MTU default #164
tomtom5152
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve been playing around with IPv6 as part of trying to understand the state of #15, and I’ve noticed on Linux hosts the default MTU of 1200 is too low to support it.
Bumping that to the minimum for IPv6 of 1280 gets everything working perfectly, which has led me to wonder why the default of 1200 was chosen and if there’s something I’m missing.
Looking at the docs for calico, they suggest a maximum MTU of 1320 is suitable for WireGuard tunnelling in every network environment tested, with many supporting higher [1]. If my understanding is correct libp2p is establishing WireGuard tunnels so the same logic should apply.
Is this understanding correct and if so could the default be raised to at least 1280, if not higher, to support IPv6 natively and provide better overall throughput without causing packet fragmentation.
Beta Was this translation helpful? Give feedback.
All reactions