add isInSubnetRange