Set a limit on the dynamic IP addresses assigned

Hello everyone,

I want to limit the DHCP server to only dynamically assign ips between 192.168.1.1-254 to 192.168.1.100-254.

How would I do that with the Luci web gui?

The default is to assign 192.168.1.100 - 192.168.1.249. using a start value of 100 and a limit of 150.

If you want to change that... navigate to:

Network > Interfaces > [click edit button] LAN > DHCP Server 

You can adjust the start and limit. Keep in mind that the limit is not the max address, but rather the size of the pool (i.e. number of addresses that will be handed out). The equation for the DHCP pool address range itself is:

($Start) to ($Start + $Limit - 1)

And for a standard /24 network, the total address range is .1 - .254 (.0 and .255 are not valid for host addresses), and it must not overlap the address of the router itself.

5 Likes

Thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.