Hi.
I searched the forum for a similar issue to what I have encountered but I couldn't see one.
In preparation for turning on AGH's DHCP Server I went in the #dhcp page in AGH and selected each of the DHCP interfaces in the drop down list (which is populated from the core setup such as br-lan) and as I amended each interface with the appropriate gateway IP and start/finish IP address, mask and lease, I saved each configuration in turn.
However, after saving the details, if a different interface is then selected from the drop down list, the DHCP IPv4 Settings pane does not refresh and retains the settings from the last saved interface update (Save Configuration). This results in an unintended consequence for setting any static DHCP leases in the pane at the bottom of the page!
When adding a DHCP static lease, the form checks that the entered IP is within the DHCP for the interface as defined in the DHCP IPv4 Settings pane. Below is both the settings pane and the static form.
The problem arises if a static lease needs to be added for an interface other than the last saved interface because selecting a different interface in the drop down list does not change the details in the settings pane. i.e. I select 10.1.1.1 but the pane remains with the previous settings for 10.1.3.1
.
As a result if I try to enter a static lease for this 10.1.1.1 subnet/interface, the Static Lease form stills reads the settings in the pane, i.e 10.1.3.1 and the lease cannot be added. The only way to do this is to type over the settings pane with correct 10.1.1. settings, save it and then re-add a new static lease. Not a workable solution!
However, I suspect this is an AGH problem and not a specific GLiNET one!