IPv6: create static routes for (sub-) delegated prefixes
name: Feature request - IPv6: create static routes for (sub-) delegated prefixes about: Suggest an idea for this project
Some initial questions
- Are you sure your feature is not already implemented in the latest Kea version? yes
- Are you sure what you would like to do is not possible using some other mechanisms? unsure, maybe with custom hooks
- Have you discussed your idea on kea-users or kea-dev mailing lists? no
Is your feature request related to a problem? Please describe. I use Kea to manage my network environment with several subnets, running on a central router/DHCP/DNS machine and connected to a dual-stack IPv4+v6 Internet uplink. As my ISP provides IA_PD with a delegated /56, I would like to sub-delegate e.g. /62's to other routers in my network. Unfortunately, this is impossible right now because although Kea does hand out prefixes (so that works fine), it does not take care of routing information. So I end up with internal routers that get v6 prefixes delegated but they are unreachable because I have no way of setting up proper routes for those prefixes. (Statically assigning those prefixes and creating fixed routes kind of defeats the purpose...)
Describe the solution you'd like I would love to see Kea setting up a static route for each prefix it hands out. From there, other mechanisms could take over, e.g. a routing daemon (BIRD, FRR, etc.) that distributes those static routes to a dynamic routing protocol.
Describe alternatives you've considered An alternative would be DHCPv6 snooping by an intermediary L3 network device, but that's tackling it backwards. Unfortunately, my environment is not capable to do that either.