Support for Multiple DHCP Scopes per Interface/VLAN

In modern home labs and small networks, it is common to operate multiple VLANs or subnets routed through a single gateway. While Pi-hole supports acting as a DHCP server, it is currently limited to a single DHCP scope and does not support multiple scopes per instance, which restricts its usability in segmented network environments. Can Pi-hole be enhanced to support multiple DHCP scopes?

If DNSMasqd which is used for FTLDNS can do it then you can do it by adding the right config lines/options to the right config files.

Since the release of Pi-Hole v6 it even binds by default to all my VLAN Interfaces so adding the DHCP Scopes to those is now even less effort than it was before! :grimacing:

I don’t use Pi-Hole for DHCP but I am 100% sure it can be done after reading a bit of documentation @ Man page of DNSMASQ

1 Like

Indeed Pi-hole already supports this by dnsmasq tagging the network interface(s):

You can add those three dnsmasq directives per interface via the webGUI:

Settings > System > flip Basic to Expert > All Settings > Miscellaneous > misc.dnsmasq_lines

Or use the misc.etc_dnsmasq_d setting on that same page.

1 Like