dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

IPv6 RA messages specific routes

Open cfilipem opened this issue 3 years ago • 3 comments

Is it possible to have dhcpcd handling IPv6 more specific routes received in IPv6 Router Advertisement messages, as described in RFC4191?

cfilipem avatar May 14 '22 15:05 cfilipem

A motivating use case:

  1. You have a router which provides internet access (GUA prefix) and offers a default route.
  2. 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.

goertzenator avatar Feb 15 '24 22:02 goertzenator

I am taking a swing at this now.

goertzenator avatar Feb 16 '24 17:02 goertzenator

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

goertzenator avatar Feb 18 '24 16:02 goertzenator