[Kea-users] create Custom DHCPv4 Option for option 121 classless routes

Jim Perkins jim at perkosolutions.com
Mon Jul 11 09:16:15 UTC 2022


I am a home labber and recently installed kea-dhcp4.  I would like some 
guidance on creating a custom dhcpv4 option to simulate dhcp option 121 
classless routes.

This is what I had for a config in isc-dhcp server.

option classless-routes code 121 = array of unsigned integer 8;
option classless-routes 0, 192,168,0,1, 24, 192,168,1, 192,168,0,1;

How would I create this using kea  custom dhcpv4 options. ?

Or I am open to another solution to push the openvpn route to all the 
dhcp clients on my network.
default route is 192.168.0.1 and the openvpn route is 192.168.1.0 via 
192.168.0.1

thanks for all your work on kea.  I got stork installed and I can see 
the potential.




-- additional information below  --

kea custom dhcpv4 option 
https://kea.readthedocs.io/en/kea-2.0.1/arm/dhcp4-srv.html#custom-dhcpv4-options
option 121 classless routes 
https://datatracker.ietf.org/doc/html/rfc3442

installed version of kea
Name         : isc-kea
Version      : 2.0.2
Release      : isc20220227221539.el8
Architecture : x86_64
Size         : 17 M
Source       : isc-kea-2.0.2-isc20220227221539.el8.src.rpm
Repository   : @System
 From repo    : isc-kea-2-0

installed OS
NAME="AlmaLinux"
VERSION="8.6 (Sky Tiger)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"


More information about the Kea-users mailing list