Please follow the below template, it will help us to help you!
Hej Hej,
I have set up PiHole via Docker and set the network to host. Furthermore I wanted to use it as a DHCP server, but somehow it does not really work. The DHCP requests are received and Pihole is listening on port 67, but I don't get an IP / see any logs. Hopefully someone can help me.
Expected Behaviour:
After Enabling the DHCP server, Pihole does answer requests
Actual Behaviour:
TCDUMP shows the request but pihole does not answer
Debug Token:
https://tricorder.pi-hole.net/w6g0c39gce
TCDUMP
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
20:06:43.316213 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 330)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 6c:c7:ec:de:23:0d, length 302, xid 0x9e77609e, secs 1, Flags [none]
Client-Ethernet-Address 6c:c7:ec:de:23:0d
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 6c:c7:ec:de:23:0d
Requested-IP Option 50, length 4: 192.168.0.210
MSZ Option 57, length 2: 1500
Vendor-Class Option 60, length 14: "android-dhcp-9"
Hostname Option 12, length 9: "Galaxy-S9"
Parameter-Request Option 55, length 10:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
MTU, BR, Lease-Time, RN
RB, Vendor-Option
20:06:45.215820 IP (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 330)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 6c:c7:ec:de:23:0d, length 302, xid 0x9e77609e, secs 2, Flags [none]
Client-Ethernet-Address 6c:c7:ec:de:23:0d
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 6c:c7:ec:de:23:0d
Requested-IP Option 50, length 4: 192.168.0.210
MSZ Option 57, length 2: 1500
Vendor-Class Option 60, length 14: "android-dhcp-9"
Hostname Option 12, length 9: "Galaxy-S9"
Parameter-Request Option 55, length 10:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Domain-Name
MTU, BR, Lease-Time, RN
RB, Vendor-Option
Netstat
netstat -tulpn |grep pihole
tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 17256/pihole-FTL
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 17256/pihole-FTL
tcp6 0 0 ::1:4711 :::* LISTEN 17256/pihole-FTL
tcp6 0 0 :::53 :::* LISTEN 17256/pihole-FTL
udp 0 0 0.0.0.0:53 0.0.0.0:* 17256/pihole-FTL
udp 0 0 0.0.0.0:67 0.0.0.0:* 17256/pihole-FTL
udp6 0 0 :::53 :::* 17256/pihole-FTL```