OpenWrt Forum Archive

Topic: DHCP range documentation start offset/limit error?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

The documentation at:
https://wiki.openwrt.org/doc/uci/dhcp
says

100 is the offset from the network address, in the default configuration this would mean start leasing addresses from 192.168.1.100

So, the default router ip is 192.168.1.1 so 100 offset would make 192.168.1.101 and I also see in my dhcp server status that the IP 100 is never assigned.

The same goes for the limit option, the 150 would end in 192.168.1.251 if it starts at .101.

Is this an error in the documentation?

Thanks,

The router does not follow the rules with assigning IP addresses because it is the one doing it... The router is taking the ip 192.168.1.1 still.

The IP's it assigns to clients start at 100. It is more of a range than an offset. No the manual is not wrong, just worded weird. It is not really an offset. Just the starting range for IP assignments.

Basically, you can't just add 100 to the IP...

(Last edited by mys5droid on 20 Feb 2017, 03:53)

The discussion might have continued from here.