[Kea-users] DHCP Option 121

Ubence Quevedo (thatrat) thatrat at gmail.com
Tue Jun 11 23:11:22 UTC 2024


Can confirm that Kea 2.6.0 support Option 121.

I was running 2.0.2 on a Raspberry Pi running Ubuntu 22.04 LTS, but when the 2.6.0 packages were released and supported ARM, I upgraded [after testing this out on another system].

Here’s the snippet from my config:
          {
            "space": "dhcp4",
            "code": 121,
            "data": "192.168.100.0/24 - 192.168.11.1"
          },

It doesn’t need an option def entry, just the above in your subnet option data for this to work.

Here’s the output on a DHCP with the route defined:
uquevedo at fedora-system:~$ ip route | tail -1
192.168.100.0/24 via 192.168.11.1 dev enp4s0f0 proto dhcp src 192.168.11.116 metric 100

Pretty handy and easier to set up than in previous versions.

I imagine IPv6 should work similarly.

-Ubence

> On Jun 11, 2024, at 8:23 AM, Joe Botha <joe at swimgeek.com> wrote:
> 
> Hi
> 
> Anybody using Kea with Option 121?
> 
> Classless static route option
> 
> Mostly thinking of using it in a fibre ISP context, to give each customer router a /32 and having the gateway IP outside of the subnet.
> 
> Any idea what % of home broadband routers support this? Know of ISPs using this option?
> 
> Any advice to test and implement this with Kea?
> 
> -- 
> Swimmingly,
> Joe
> 
> swimgeek.com/blog  +27 82 562 6167  instagram.com/joe.swimgeek
>      "...all progress depends on the unreasonable man.”
> 
> 
> 
> 
> -- 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> 
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240611/1b8de07d/attachment-0001.htm>


More information about the Kea-users mailing list