|
'Unicast IPv4 address'/'prefix length' string.
Address is to be specified in dotted-quad decimal notation in accordance with RFC791, without leading 0s.
IPv4 address within range [1-126,128-223].[0-255].[0-255].[0-255], 7-15 characters. Prefix is a number 0 to 32. 0.0.0.0 default route is allowed too.
Regex: (^(((([1-9]|22[0-3]|2[01][0-9]|1[013456789][0-9]|12[012345689]|[1-9][0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]))/([0-9]|[1-2][0-9]|3[0-2]))|(0.0.0.0/0))$)
Example: 1.1.2.2/28
|