Static DHCP leases configuration

Good morning,
if a device is assigned a static IP via the appropriate function of the same but is also defined with the same IP in the "Static DHCP leases configuration" list, there is a reason why it does not appear in the "Currently active DHCP leases" section.
Thanks

Exactly because of that:

With a statically assigned IP on device, it will never request a DHCP lease.

Thanks for the reply.
I agree that it will not request the IP from PiHole but this means that it is not even listed in "Currently active DHCP leases".
I ask because I have some strange cases, that is, desktop computers that are not listed and smartphones that are and I don't understand why.
In any case, if I set the PiHole IP in the DNS of the devices, the traffic is monitored. Is that right?
Thanks, regards

Of course it wouldn't be listed - it hasn't requested a DHCP lease, and hence does not have an active lease.

As long as you do that for IPv4 and as well for IPv6 (if you have IPv6 connectivity).

Thanks again for your reply.
I also noticed that if automatic DHCP is enabled for a device it appears in the "Currently active DHCP leases" list.
If I then set a static IP for the same device it remains listed in "Currently active DHCP leases".
So this could be the explanation for some devices listed even though they have a static IP set in the device itself.
Thanks, regards.

An active device that has acquired a DHCP lease will be listed for as long as its lease's lifetime, i.e. it will be removed once the lease has expired (or if the device returns its lease when it signs off, but that may not happen for a static device).

Thanks for the clarifications.
Best regards.

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