dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

add RFC4191 support

Open goertzenator opened this issue 1 year ago • 1 comments

Resolves issue #102.

Implement RFC4191 support for Route Information options in Router Advertisements. This option allows a router to provide routes for a specific prefix instead of only providing default routes.

My use case is that I have a ULA network with a VPN router and no IPv6 internet access. Using this router as the default route does not work well because the host then thinks it can reach the Internet. By instead advertising a route just for the ULA prefix hosts will immediately know they cannot reach the Internet through this router.

I've tested this PR in a VM in this exact configuration and it seems to work quite well. I changed the radvd config on the fly to remove and add the route and it behaved as expected.

goertzenator avatar Feb 21 '24 19:02 goertzenator

Thanks for the prompt review, I appreciate it!

goertzenator avatar Feb 23 '24 14:02 goertzenator

Thanks for your contribution!

rsmarples avatar Mar 09 '24 01:03 rsmarples