DHCP Static Leases not showing in Client List

If I understand the logic correctly, when a static IP is assigned to a device through the GUI, the DHCP treats it as any other lease with an expiry period after which the device will request an IP and be issued with the same static IP address (again) .

Given this is really no different to normal DHCP leases, why does the client list not show these DHCP leases for static addresses? They are shown in the LUCI summary page as current DHCP leases. The client list only appears to show non-static leases. It would be helpful to see all devices on a DHCP lease in the client list and whether they are online/offline, not just those with dynamic IP's assigned.

Thanks.

MT6000 Flint2 OpenWrt 21.02-SNAPSHOT r15812+1076-46b6ee7ffc

Hi,

What is the GL firmware version of Flint 2? Is it upgraded to the latest firmware v4.7.0?

In the case of a static IP address, the client does not need to initiate the lease renewal process with the DHCP server, as the IP address is static and fixed, it will not be reallocated or changed by the DHCP server.

However, even if the static lease device is online, it will be displayed in the Client List.


Thanks @bruce .

The router is on 4.6.8. I have not attempted any upgrade at all to 4.7.

  • OpenWrt Version

OpenWrt 21.02-SNAPSHOT r15812+1076-46b6ee7ffc

  • Kernel Version

5.4.238

My Client list does not show Static IP's if they are on line.

  1. Current Client List:

EDIT: I just spotted that two devices connected to the 5G wifi have static leases in the client list. But no LAN/ethernet devices are.

  1. Static IP List in the LAN settings
    Green highlights are on line.

  2. LUCI Active DHCP leases.

I do not know why my Client list does not show the static IP's which are definitely online as highlighted in green.

Thanks

I found the issue!

br-lan was not set to "accept local" nor Spanning Tree. Strange! ANyway, once I put these right, the static IP's reappeared in the client list.
Yay!

1 Like