Skip to content
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

radvd,dhcp4: switch to MTU 1280 #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

radvd,dhcp4: switch to MTU 1280 #282

wants to merge 1 commit into from

Conversation

1977er
Copy link
Member

@1977er 1977er commented Jan 20, 2025

As a takeaway from last weekends hackathon there is the suggestion to switch to a lower MTU to prevent fragmentation.

Ideas, suggestions, objections?

@lemoer
Copy link
Contributor

lemoer commented Jan 21, 2025

There are several things, we should take into account:

  • Does a 1280 MTU make sense for wireguard+vxlan? IIRC, 1280 is already a fragmented packet due to the stacking of packet headers...
  • We are only talking about UDP, because for TCP, we hopefully have MSS-clamping.
  • Most clients are known to ignore the field for udp anyways as I heard.

@1977er
Copy link
Member Author

1977er commented Jan 22, 2025

So, your concern is "it may not help"? I take that as a "lets go". 😉

@AiyionPrime
Copy link
Member

At least the first point reads as "it might make things worse".
But if you're talking about "lets go testing" and testing does not happen in prod, I'm totally fine with it.

Copy link
Member

@AiyionPrime AiyionPrime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not test this in production?

@jue89
Copy link
Member

jue89 commented Jan 27, 2025

Lowering the MTU to 1280 will make using Wireguard over Freifunk with encapsulated IPv6 impossible.

@1977er
Copy link
Member Author

1977er commented Jan 28, 2025

Shouldn't BATMANs fragging capabilities take care of that?

@jue89
Copy link
Member

jue89 commented Jan 28, 2025

You're advising clients to lower their MTU to 1280, right?

If they do, you can't use Freifunk to connect to your own Wireguard servers and talk IPv6 over that tunnel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants