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

Feature request: Separate MTU interface values for IPv4 and IPv6 #2643

Closed
Kal42 opened this issue Aug 17, 2018 · 7 comments
Closed

Feature request: Separate MTU interface values for IPv4 and IPv6 #2643

Kal42 opened this issue Aug 17, 2018 · 7 comments
Assignees
Labels
feature Adding new functionality
Milestone

Comments

@Kal42
Copy link

Kal42 commented Aug 17, 2018

Some ISPs offer IPv6 connetivity throw 6in4 and in some case the 6in4 tunnel endpoint is the box itself.
As such, in some cases PMTU discovery can fail and it is sometimes necessary to explicitly define a lower MTU interface value.
So for ip6 working we need to put on the lan MTU 1480 and have radvd advertise mtu 1480.

Shrinking the MTU to accommodate IPv6 results in poor IPv4 connectivity and vise versa.

Best regards,

@fichtner fichtner added the support Community support label Aug 17, 2018
@fichtner
Copy link
Member

We opted for a combined MTU solution in #2553 for 6RD and 6TO4. It's a unclear what 6in4 you mean. 6RD, 6TO4, GIF?

@Kal42
Copy link
Author

Kal42 commented Aug 17, 2018

In fact, the 6 over 4 tunnel is not managed by the opnsense, it's manged by the ISP modem-router in front of the opnsense. So opnsense is not aware that ipv6 is over ipv4.
Opnsense get it's ipv6 throw SLAAC or STATIC on the WAN part.

dessin1

@fichtner
Copy link
Member

Thanks for explaining. I'm unaware of how to separate IPv4 and IPv6 MTU if we use the same device for both going out?

@Kal42
Copy link
Author

Kal42 commented Aug 17, 2018

I have check my current configuration, and just to be able to set radvd option : AdvLinkMTU to a different value than the interface MTU should work.

@fichtner
Copy link
Member

I'd opt for the radvd improvement as well. That seems doable.

@fichtner
Copy link
Member

Checking the code and the new 6rd MTU feature this should start working in 18.7.2 automagically when you set your interface MTU to 1500 so it will set 1480 for 6rd and also advertise it correctly.

@fichtner fichtner self-assigned this Sep 3, 2018
@fichtner fichtner added feature Adding new functionality and removed support Community support labels Sep 3, 2018
@fichtner fichtner added this to the 19.1 milestone Sep 3, 2018
@fichtner
Copy link
Member

fichtner commented Sep 3, 2018

Ok not quite yet, it tracks its own MTU which is different from the parent, but not unfixable :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

2 participants