dhcpcd
dhcpcd copied to clipboard
IPv6 RA messages specific routes
Is it possible to have dhcpcd handling IPv6 more specific routes received in IPv6 Router Advertisement messages, as described in RFC4191?
A motivating use case:
- You have a router which provides internet access (GUA prefix) and offers a default route.
- You add a separate VPN router (ULA prefix) onto the same link which is supposed to handle all traffic on your corporate extranet. This router advertises a non-default route for a /48 version of the ULA prefix, but no default route.
At the moment dhcpcd will not pick up the non-default route from the VPN router and will just push everything down the default route.
I am taking a swing at this now.
Basic functionality is working, but I need to test more and read RFC4191 more thoroughly to see if there is stuff I should add.
https://github.com/goertzenator/dhcpcd/tree/rfc4191route