[kea-dev] Issues with the REJECT class

Peter Davies peterd at isc.org
Mon Jun 1 05:05:39 UTC 2026


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



More information about the kea-dev mailing list