search units by subnets