SummaryWhen trying to create a new network object, this error may appear if the subnet mask does not work with the provided IP address/range.
OverviewWhen trying to create a new network object from Configuration > Objects > Network, the following error may appear if the subnet mask does not work with the provided IP address/range:
Error: Network object IP address must be an IPv4 or IPv6 prefix format, e.g. '126.96.36.199/24'.
CauseThe 'IP Network Address' section of the page has been filled out with an IP address/range which does not fit into the 'Mask Length' specific subnet mask length. For example: 192.168.0.37 refers to a specific host IP address, but the mask length is set as /24. Since the mask used is meant to specify a whole IP range, it will cause the error as mentioned above. The correct subnet mask to use would be /32, since that would specify only 1 single IP address rather than a whole range.
ResolutionInspect the values entered and ensure that the mask length suits the IP address/range.