-
Notifications
You must be signed in to change notification settings - Fork 99
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
Support adding static router advertisments #74
Comments
+1 |
Need this too. Was shocked to find that radvd got removed from OpenWRT, while its "replacement" odhcpd doesn't even have this basic feature. |
This is a very important feature. How can this be implemented? |
Meanwhile this package can be used instead https://github.com/ffulm/firmware/tree/master/package/simple-radvd |
DavidB137
added a commit
to DavidB137/odhcpd
that referenced
this issue
Oct 12, 2024
Introduces new configuration option `ra_addroutes` for adding custom route(s) in route advertisement (RA) messages when no default route is advertised. This is useful when, for example, end devices are given only ULA IPv6 addresses (e.g. from fc00:0:100::/48), but one still needs inter subnet communication to e.g. fc00:0:200::/48. Currently, this wouldn't be possible without static route on each end device as the odhcpd server doesn't present itself as default router and no route information is given except for local ULA subnet (fc00:0:100::/48). New configuration option `ra_addroutes` makes it possible to advertise arbitrary routes to the end devices and thus making correct routing possible even when no default route (or public IPv6 prefix) is available. Option `ra_addroutes` exists under both `odhcpd` section and interfaces' sections. Latter sets up interface-specific routes. Routes configured under `odhcpd` are global and advertised for all interfaces (including those with interface-specific additional routes). Config example: config odhcpd 'odhcpd' ... list ra_addroutes 'fc00:10::/32' list ra_addroutes 'fc00:20::/32' config dhcp 'lan' ... list ra_addroutes 'fd50:60:70::/48' Fixes: openwrt#74 Signed-off-by: Dávid Benko <davidbenko@davidbenko.dev>
DavidB137
added a commit
to DavidB137/odhcpd
that referenced
this issue
Oct 12, 2024
Introduces new configuration option `ra_addroutes` for adding custom route(s) in route advertisement (RA) messages when no default route is advertised. This is useful when, for example, end devices are given only ULA IPv6 addresses (e.g. from fc00:0:100::/48), but one still needs inter subnet communication to e.g. fc00:0:200::/48. Currently, this wouldn't be possible without static route on each end device as the odhcpd server doesn't present itself as default router and no route information is given except for local ULA subnet (fc00:0:100::/48). New configuration option `ra_addroutes` makes it possible to advertise arbitrary routes to the end devices and thus making correct routing possible even when no default route (or public IPv6 prefix) is available. Option `ra_addroutes` exists under both `odhcpd` section and interfaces' sections. Latter sets up interface-specific routes. Routes configured under `odhcpd` are global and advertised for all interfaces (including those with interface-specific additional routes). Config example: config odhcpd 'odhcpd' ... list ra_addroutes 'fc00:10::/32' list ra_addroutes 'fc00:20::/32' config dhcp 'lan' ... list ra_addroutes 'fd50:60:70::/48' Fixes: openwrt#74 Signed-off-by: Dávid Benko <davidbenko@davidbenko.dev>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basically I want to be able to replace this
radvd
configuration snippet:It statically advertises a route for the
fc00::/8
address space on all LAN interfaces, nothing else; no assigning addresses, no extra subnet routes, just handing out that single route. This this possible withodhcpd
right now? Is it hard to implement?The text was updated successfully, but these errors were encountered: