Introduction
Having moved from ISC to Kea on Opnsense it was a fairly straightforward process although I done it manually.
Enabling Kea DHCP
- From Services browse to Kea DHCP and then Control Agent tick Enabled
- Keep Bind Address and Bind Port as the default selection.
- Always remember to hit apply!
- From Kea DHCP v4 select the following:
- Service –> tick enabled
- Interfaces –> Select the interfaces you want it to apply to. My example is IoT, Trusted and LAN
- Valid lifetime –> My devices don’t really change so I extended it to 86400. This is in minutes.
- Firewall rules –> enabled
- Socket type –> RAW
Subnets
- Click + to add a new subnet
- Subnet – 192.168.10.0/24 – my example
- Description – Trusted
- Pools – 192.168.10.100 – 192.168.10.254 – I’ve started mine at .100 as I tend to set reservations for each device.
- Auto collect option data – I unticked this as I found none of my devices were going through adblock.
- DNS – If you have Pi-hole or Adblock be sure to set your DNS server here for each subnet.
Reservations
- Click + to add a new reservation
- Subnet – select the subnet from the list, 192.168.10.0/24 – my example
- IP Address – 192.168.10.10
- MAC address – enter the Mac of the device
- Hostname – Enter a name for the device
- Description – Finally, a description.

Leave a comment