Flint2 MT6000 with AdGuardHome Static IP settings issue

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!

You can't add a lease for an IP which isn't inside the interface's network or even the DHCP pool.
Range of IP addresses must contain your static entry.

Hi,

I think I have done that. What I was saying is that to add a static lease which is within the dhcp range of the interface, you have to have the upper pane showing the ip address ranges for the interface in question. Just selecting the interface in the drop down does not refresh the pane which is used for validating the new static lease entry. Just try it yourself on two different interfaces using two different subnets and try an enter just one static lease in each. You will see the problem as you try to enter the static ip lease in the form!

That's an AGH issue then, it should be reported there.

1 Like

Yeah, I thought so! Thanks.

Not that I am expecting much from reporting this, but here's the link on Github!