Common::AddressRange

Introduced : BIG-IP_v11.5.0
A struct that describes a range of IP address. Users can specify an IP address range as the source or destination IP addresses in an AFM rule. For example, an IPv4 address range 10.10.10.1-10.10.10.245 will match all 245 addresses 10.10.10.1, 10.10.10.2, 10.10.10.3, … 10.10.10.244, 10.10.10.245. There are some constraints when specifying the IP address ranges: 1) The first IP address in an address range must be numerically less than the second IP address of the same address range. For example, 10.10.10.2-10.10.10.1 is not a valid IP address range. 2) Address range is inclusive of the first and second IP addresses. In other words, an address range A-B includes both address A and B. 3) The first IP address and the second IP address in an address range must be of the same type (i.e., both addresses are IPv4 addresses, or both addresses are IPv6 addresses). 4) The first IP address and the second IP address in an address range must be in the same route domain.
Member Type Description
start String The start of the address list range.
end String The end of the address list range.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.