no address range available for DHCP request via wlan0

Setup Pi-Hole on a Raspberry Pi Zero 2 W running Raspberry Pi OS 32-bit, with the device connected to my router via WiFi. I've followed instructions for: Use Pi-hole’s built in DHCP server as I am unable to change my router's DNS options.

I've also setup and followed the instructions for Unbound

In the admin panel > tools > Pi-Hole diagnostics, I'm receiving the warning: dnsmasq qarning: no address range available for DHCP request via wlan0

Debug Token:

https://tricorder.pi-hole.net/UMLCOHoK/

Your wlan0 interface is on a different IP subnet (10.0.0.0/24) than you have configured for the IP range to lease addresses from (192.168.1.100 - 192.168.1.200):

   2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
       link/ether 2c:cf:67:dc:28:0b brd ff:ff:ff:ff:ff:ff
       inet 10.0.0.150/24 brd 10.0.0.255 scope global dynamic noprefixroute wlan0
          valid_lft 172773sec preferred_lft 172773sec
  [dhcp]
     active = true ### CHANGED, default = false
     start = "192.168.1.100" ### CHANGED, default = ""
     end = "192.168.1.200" ### CHANGED, default = ""
     router = "192.168.1.1" ### CHANGED, default = ""

There isn't a way to give DHCP clients the addresses in 192.168.1.100-200 with a router address of 192.168.1.1. because there isn't anything there. If the DHCP server gives out a lease to a client like 192.168.1.150 then that client will never talk to the DHCP server again because it will not be able to reach 10.0.0.150.

You're also trying to use DHCPv6 and IPv6 which is an advanced and complicated network configuration.

I've disabled the IPv6, but when it comes to the IP range, should I change the current values to:

[dhcp]
     active = true ### CHANGED, default = false
     start = "10.0.0.100" ### CHANGED, default = ""
     end =  "10.0.0.200" ### CHANGED, default = ""
     router = "10.0.0.1" ### CHANGED, default = ""

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.