Use server action ValidateIpInRange to check if a given IP is in a given IP range.
The IP range to check for.
Possible ways of defining the IP range: