[kea-dev] Issues with the REJECT class

Philip Prindeville philipp_subx at redfish-solutions.com
Mon Jun 1 14:39:16 UTC 2026


My understanding is that if there is no pool, then the server will simple not respond.

I'm trying to get it to NAK and match the behavior of ISC-DHCP.

Thanks


> On May 31, 2026, at 11:05 PM, Peter Davies <peterd at isc.org> wrote:
> 
> Hi Philip.
>   It looks like "interface-config" needs a terminating curly bracket; ie
> {
>   "Dhcp4": {
>     "lease-database": {
>       "type": "memfile",
>       "persist": true,
>       "name": "kea-leases4.csv",
>       "lfc-interval": 900,
>       "max-row-errors": 1
>     },
>     "interfaces-config": {
>       "interfaces": [
>         "eth1.3",
>         "eth1.4"
>       ]
>     },
>     "client-classes": [
>       {
>         "name": "REJECT",
>         "test": "not member('KNOWN')"
>       }
>     ],
>     "reservations-in-subnet": true
>   }
> }
> 
> If you wish to grant leases only to  clients  with host reservations,  you could
> define the subnet without any pools
> 
> NB: there is a built-in UNKNOWN class
> 
> /Peter
> 
> -- 
> Peter Davies
> Support Engineer
> Internet Systems Corporation
> 
> -- 
> kea-dev mailing list
> kea-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-dev



More information about the kea-dev mailing list