Some devices not showing in DHCP leases

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

Expected Behaviour:

All devices show in settings with DHCP lease

Actual Behaviour:

2 devices on network not appearing in DHCP lease list in settings
Devices are 2 Pi's connected via ethernet, static ips set on each device individually
Devices show some stats in the dashboard

Debug Token:

2qwj9xhga2

Your IPs on those devices are static. They will not show there because there isn't a lease assigned to those MAC addresses.

Those clients never send a DHCPREQUEST to the DHCP server (due to the fact that they are FIXED IPs) and thus, no lease is assigned.

Ah ok, makes sense

Is there a means to name the device then?
So I see a hostname in the stats rather than just an IP?

You could edit /etc/hosts and add THE.DEV.ICE.IP NameYouWant and reboot the device.

That will populate the name in the stats and not the IP.

On my pihole device of the devices that show no hostname?

Example from one

127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
127.0.1.1       media-pi

You would edit the file, on your Pi-hole device.

Ok thanks, so I edit /etc/hosts on my pihole, add

192.168.0.66    media-pi

And then reboot the media-pi?

Well, are your queries showing up as originating from 192.168.0.66 or 127.0.0.1 (localhost) ?

Stats in the dashboard show the IP of media-pi, i.e. 192.168.0.66

Then yes

this :slight_smile:

Ok, I done this, rebooted media-pi but it won't boot.
No idea why, and it's too late to look at it....doh.
(I know it's not related to Pi-Hole!)

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