Mock IP range check