DHCP Range for LAN subnet

I have set 10.147.17.1/22 as IPv4 address for LAN.
DHCP lease IP addresses from range 10.147.16.
How can I keep /22 and set DHCP to lease 10.147.17 subnet addresses?
There are only Start and Limit options.

You need to calculate start and limit according to your needs (yes, the values can exceed 255).

1 Like

Thanks. Also I can specify start IP address.

IF this was a question, then you specify the start as an offset of the network address.

Of course it wasn’t.
I meant the field allow to enter full ip like 192.168.0.100 as start value.

I think you mean "it was"?

Again, you calculate the start and limit values:

So, you seem to want a start value of 100. Hope this helps.

Yes, the option start accepts an IP address value as well. For your specific case, you can either specify option start 356 (10.147.17.1/22 + 356 = 10.147.16.0 + 356 = 10.147.17.100) or you can specify option start 10.147.17.100 directly.

2 Likes

I think it's worth mentioning in the tooltip in LuCI, as it currently mentions start as an offset.

1 Like

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