Cannot create static leases

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.

1 Like