Migrating from ISC DHCP to dnsmasq or Kea DHCP in OPNsense

Опубликовано: 06 Май 2026
на канале: Home Network Guy
24,296
465

In this guide, I demonstrate how to migrate from ISC DHCP to dnsmasq or Kea DHCP in OPNsense. I am going to assume you have upgraded from OPNsense 25.1 to 25.7 before attempting to migrate to dnsmasq or Kea since I will be discussing the export/import options for static DHCP leases which is available on OPNsense 25.7. OPNsense included that feature to help users migrate away from ISC DHCP.

There are a number of nuances in how you may set up the DHCP and DNS options in OPNsense, but I will only cover a few of them. My website guide will have a bit more details than I will discuss in this video since I did not want to go down too many tangents to stay on topic.

Be sure to check out my written guide if you wish to have more details!:

https://homenetworkguy.com/how-to/mig...

Chapters:

01:32 Assumptions
03:59 Which DHCP service to use?
08:12 Setting up dnsmasq
08:48 Export static DHCP leases
09:16 General dnsmasq settings
13:06 Configure DHCP ranges
18:00 Import static DHCP ranges
18:47 Disable router advertisements (radvd)
19:11 Local hostname lookups with Unbound DNS
21:49 Disable ISC DHCP and enable dnsmasq
23:26 Setting up Kea DHCP
25:14 Configure DHCPv4 ranges
26:46 Import static DHCPv4 ranges
27:20 Configure DHCPv6 ranges
30:58 Create static DHCPv6 reservations
31:34 Router advertisement options
32:06 Using IPv6 SLAAC addressing
33:22 Disable ISC DHCP and enable Kea DHCP

EP80

Join this channel to get access to perks:
   / @homenetworkguy