Cannot create static leases

My remote pc had ip 192.168.10.90. I wanted to change it to 192.168.10.12. My DHCP range is 192.168.10.200 - 192.168.10.249.

I cannot choose any ip in the subnet for a static lease. I get an unexpected error when pressing “Save & Apply”.

I actually get an unexpected error when I “Save & Apply” without the lease (and only the already working leases there).

I now solved it by using CLI and manually:

uci add dhcp host
uci set dhcp.@host[-1].mac=‘XX:XX:XX:XX:XX:XX’
uci set dhcp.@host[-1].name=‘XXXXXXXXXX’
uci set dhcp.@host[-1].ip=‘192.168.10.12’
uci commit dhcp

But it would be good to be able to use the GUI in the future.

Kind regards
Pontus

Ps. I am not sure if it matters but when I go to Network → Lan. All interfaces are “-” except the ones that have no static ip. I cannot click on those ips and select create static (I used to be able to do that).

Same here, only get a “unexpected error” if I try to assign a static lease.

Using a RUTX50 on RUTX_R_00.07.21.3

Greetings, @keepitsimple ,

Thank you for contacting us and for the detailed report.

We have investigated this issue and can confirm it is a known bug in the WebUI, affecting firmware versions 07.21.2, 07.21.3, and 07.22. It has been acknowledged by Teltonika’s development team and a fix is planned for a future firmware release.

Additional information can be found in this forum topic:

The quickest resolution is to enable any disabled mobile/WAN interface:

  1. Navigate to Network → WAN.
  2. Identify any mobile interfaces currently set to disabled.
  3. Enable them - an active SIM or live connection is not required.
  4. Wait approximately 30 seconds, then retry saving the static lease under Network → DHCP → Static Leases.

This should restore full GUI functionality for static lease management.

Alternatively, if modifying the WAN interface state is not suitable for your setup, static leases can be added via the command line:

uci add dhcp host
uci set dhcp.@host[-1].mac='XX:XX:XX:XX:XX:XX'
uci set dhcp.@host[-1].name='hostname'
uci set dhcp.@host[-1].ip='192.168.x.x'
uci commit dhcp

Leases added this way will be reflected correctly in the WebUI.

Regarding the Network → LAN display issue. The “-” entries and the missing “Create static” shortcut you observed are likely caused by the same frontend regression. Please check whether this is also resolved after enabling the WAN interface as described above, and let us know the outcome.

We will notify you once a firmware fix is available. In the meantime, please do not hesitate to reach out should you need further assistance.

Best regards,
V.

Ah, indeed. Thanks for this as I had the same issue. Mobile2 was disabled by me in WebUI and I was wondering why any IPv4 Address is being told as “format not okay”. With enabling the Mobile2 (without any SIM inserted), the Static IPv4 works.

Firmware: RUTX_R_00.07.23.1