Skip to content

feat: Implement --adv-link-mtu#4

Open
AiyionPrime wants to merge 1 commit intomainfrom
staging/aiyion
Open

feat: Implement --adv-link-mtu#4
AiyionPrime wants to merge 1 commit intomainfrom
staging/aiyion

Conversation

@AiyionPrime
Copy link
Member

an option taking one argument: the MTU to advertise on the link

Must not be less than 1280 bytes.

@AiyionPrime AiyionPrime force-pushed the staging/aiyion branch 2 times, most recently from 8b4deb2 to 6a09386 Compare September 5, 2025 20:59
@AiyionPrime
Copy link
Member Author

AiyionPrime commented Sep 5, 2025

Im Project Parker kam der Wunsch nach einer MTU Option auf.

Das hier spiegelt die Funktion aus radvd.

CC @jluebbe @SmithChart

@AiyionPrime AiyionPrime added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 9, 2025
@jluebbe
Copy link

jluebbe commented Sep 10, 2025

Our original hard-coded MTU is here: https://gitli.stratum0.org/ffbs/uradvd/-/commit/ad9c7792a69da43a76fc05adec38c712b48af147

Thanks for implementing this properly, @AiyionPrime! 🙏

@grische
Copy link
Contributor

grische commented Jan 20, 2026

@AiyionPrime can you update the PR to adjust for the changes from #11?

@AiyionPrime
Copy link
Member Author

I'll see to at six.

an option taking one argument: the MTU to advertise on the link

Must not be less than 1280 bytes.
@AiyionPrime
Copy link
Member Author

@grische sorry; got a little late, but I think this is it.
Im somebody feels like testing or at least reviewing it, I'd be grateful :D

@AiyionPrime AiyionPrime requested a review from neocturne January 20, 2026 19:10
@DasSkelett
Copy link
Contributor

DasSkelett commented Jan 26, 2026

Testing looks good:

$ cat /proc/sys/net/ipv6/conf/enp34s0/mtu
1492
$ sudo ./uradvd -i enp34s0 --adv-link-mtu 1292 -p 2001:db8::/64
$ cat /proc/sys/net/ipv6/conf/enp34s0/mtu
1292

Wireshark also shows the option correct when set, and not at all when not set.

@AiyionPrime
Copy link
Member Author

Thanks for testing it out, that's highly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants