Question

What are valid IP formats?

Answer

IP addresses are made up of four numeric components separated by a full stop (period). Each numeric component ranges from 0 to 255. You can express an IP range by using a hyphen (-) and you can use a wildcard within a range by using an asterisk (*)

Examples of valid IP address formats (note the numbers are used as examples only):
  • 121.18.19.20 = a single IP address
  • 121.18.19.* = all IP addresses beginning 121.18.19
  • 121.18.19.0-255 = a range of IP addresses from 121.18.19.0 to 121.18.19.255 inclusive (ie the same as the example above)
  • 121.18.* = all IP addresses beginning 121.18
  • 121.18.0-255. = all IP addresses in the range 121.18.0-255 (ie all addresses beginning 121.18)
  • 121.18.0-255.0-255 = all IP addresses beginning 121.18
  • 121.* = all IP addresses beginning 121
  • 121.0-255.0-255.0-255 = all IP addresses beginning 121
    • We also support IP syntax CIDR (Classless Inter-Domain Routing) IP addresses, which use a single IP address to designate many unique IP addresses. A CIDR IP address looks like a normal IP address except that it ends with a slash followed by a number, called the IP network prefix. For example: 121.18.19.0/20