You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to check with some easy math JS, which will restrict start + limit < 255, otherwise changes field color to red.
Such a solution would be wrong as the limit is not 255 but actually depending on the interface subnet size. This is also the reason why OpenWrt uses start, limit notation and not "last digit of IP" since we do not presume fixed /24 subnets.
Maybe my "not working DHCP" issue was caused by something else, since it was production router, when I changed value back and it booted, I haven't tried again. I'll try investigate more.
Luci allow setting DHCP out-of-range, which leads to state, where DHCP won't start next boot. (since
100+250
>255
).For many routers, there is definition of DHCP range by start and end address, which can be easily overlooked / mistaken on luci.
I propose to check with some easy math JS, which will restrict start + limit < 255, otherwise changes field color to red.
The text was updated successfully, but these errors were encountered: