converted ipaddresses in a range using ip2long so that multiple subnets do not return incorrect results