Fix handling of DHCP IP ranges for big LAN subnets