DHCP not working

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

I want to build a DHCP with pihole instead of my asus router. Pihole will assign IP for me, the device connected to the internet will be shown in " Currently active DHCP leases "

Actual Behaviour:

nothing happen, ipconfig /all in windows shows that there is no DHCP server. " Currently active DHCP leases " list shows nothing. The device cannot connect to the internet.

Debug Token:

token : https://tricorder.pi-hole.net/3MNQEVmL/

You have two DHCP servers running.

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   WARN: Could not sendto() in send_dhcp_discover() (/__w/FTL/FTL/src/dhcp-discover.c:233): Operation not permitted
   * Received 300 bytes from eth0:192.168.0.1
     Offered IP address: 192.168.0.207
     Server IP address: 192.168.0.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.0.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.0.255
      dns-server: 192.168.0.145
      dns-server: 192.168.0.1
      router: 192.168.0.1
      --- end of options ---
    
   * Received 300 bytes from eth0:192.168.0.145
     Offered IP address: 192.168.0.207
     Server IP address: 192.168.0.145
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.0.145
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.0.255
      dns-server: 192.168.0.145
      domain-name: "lan"
      router: 192.168.0.1
      --- end of options ---
    
   DHCP packets received on interface wlan0: 0
   DHCP packets received on interface lo: 0
   DHCP packets received on interface eth0: 2

Have you released and renewed the DHCP lease on the Windows device?

1 Like

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