Please follow the below template, it will help us to help you!
Expected Behaviour:
I have enabled the DHCP server on Pi-hole and disabled DHCP on my router.
My Raspberry Pi 3B+ has a static IP address 192.168.0.7.
My router has an IP address 192.168.0.1.
My DHCP range is configured to 192.168.0.10 - .255.
My Pi-hole DNS is configured to 1.1.1.1 and 1.0.0.1.
Pi-hole is up to date and all other applications on Pi.
I expect all devices to connect to network and work with Pi-hole.
Actual Behaviour:
All devices fail to obtain an IP address on the network when using auto DHCP. If I set a manual IP then devices can connect to the internet but are obviously not going through Pi-hole unless I manually set DNS on each device also, which defeats the purpose of setting up Pi-hole DHCP.
I have attempted ipconfig release, flushdns and renew for Windows 10.
Android devices fails to connect entirely on auto DHCP, "Failed to obtain IP address".
I have tried restarting router, Pi and devices multiple times.
Debug log doesn't have anything unusual to me except for one port conflict for lighttpd, which I resolved. There is only one red section re: "Block page X-Header".
Debug Token:
flnzsdh3t1
Thank you for any assistance. Please let me know if you need me to run any extra scripts or provide more information.
Please see output for sudo grep DHCP /var/log/pihole.log:
Feb 4 18:49:19 dnsmasq[8277]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
Feb 4 18:49:19 dnsmasq-dhcp[8277]: DHCP, IP range 192.168.0.10 -- 192.168.0.255, lease time 1d
Feb 4 18:49:19 dnsmasq-dhcp[8277]: DHCPv6, IP range ::100 -- ::1ff, lease time 1d, template for eth0
Feb 4 18:49:19 dnsmasq-dhcp[8277]: DHCPv4-derived IPv6 names on eth0
Feb 4 18:50:42 dnsmasq-dhcp[8277]: no address range available for DHCPv6 request via eth0
Feb 4 18:50:43 dnsmasq-dhcp[8277]: no address range available for DHCPv6 request via eth0
Feb 4 18:50:47 dnsmasq-dhcp[8277]: no address range available for DHCPv6 request via eth0
Feb 4 18:50:47 dnsmasq-dhcp[8277]: no address range available for DHCPv6 request via eth0
Feb 4 18:51:39 dnsmasq-dhcp[8277]: no address range available for DHCPv6 request via eth0
Feb 10 17:13:08 dnsmasq[6666]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCP, IP range 192.168.0.10 -- 192.168.0.255, lease time 1d
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCPv6, IP range ::100 -- ::1ff, lease time 1d, template for eth0
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCPv4-derived IPv6 names on eth0
Feb 10 17:13:33 dnsmasq[6851]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCP, IP range 192.168.0.10 -- 192.168.0.255, lease time 1d
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCPv6, IP range ::100 -- ::1ff, lease time 1d, template for eth0
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCPv4-derived IPv6 names on eth0
Feb 10 17:14:11 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:12 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:12 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:13 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:13 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:23 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:24 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:15:09 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:15:10 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Output for sudo grep dhcp /var/log/pihole.log
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCP, IP range 192.168.0.10 -- 192.168.0.255, lease time 1d
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCPv6, IP range ::100 -- ::1ff, lease time 1d, template for eth0
Feb 10 17:13:08 dnsmasq-dhcp[6666]: DHCPv4-derived IPv6 names on eth0
Feb 10 17:13:08 dnsmasq-dhcp[6666]: router advertisement on eth0
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCP, IP range 192.168.0.10 -- 192.168.0.255, lease time 1d
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCPv6, IP range ::100 -- ::1ff, lease time 1d, template for eth0
Feb 10 17:13:33 dnsmasq-dhcp[6851]: DHCPv4-derived IPv6 names on eth0
Feb 10 17:13:33 dnsmasq-dhcp[6851]: router advertisement on eth0
Feb 10 17:14:11 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:12 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:12 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:13 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:13 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:23 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:14:24 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0) 58:82:a8:0c:25:2a
Feb 10 17:14:24 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:15:09 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:15:09 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0)
Feb 10 17:15:10 dnsmasq-dhcp[6851]: no address range available for DHCPv6 request via eth0
Feb 10 17:16:05 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0) 24:18:1d:7c:5d:a1
Feb 10 17:17:03 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0) 60:f1:89:25:3e:c8
Feb 10 17:18:24 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0) 60:f1:89:25:3e:c8
Feb 10 17:18:30 dnsmasq-dhcp[6851]: RTR-SOLICIT(eth0) 24:18:1d:7c:5d:a1