Validate DHCP settings
- In
reforis/network-settings/lan
we can set the number of max leases for DHCP. We should validate that number according to netmask (can we actually allocate that number of addresses?). We also need better help text. - Start must be in the network.
- Corner case: number of leases is 1 and dhcp start is 1 and router addr ends with 1 then NO addr will be assigned to DHCP client.
- Make sure DHCP settings and network mask are validated in guest network form!
Add some help texts.