3.107.23. AddressPool Previous topic Parent topic Child topic Next topic

The AddressPool clause allows you to define which address pools are available. When Radiator is started, each AddressPool ensures there is an entry for each of its addresses and prefixes in the RADPOOL table.
AddressPool is a simple alternative for maintaining the contents of the RADPOOL table through other method. You can use another method for initialising and maintaining the RADPOOL table, in this case it is not necessary to have any AddressPool clauses.
AddressPool defines a range of available addresses or prefixes. Each address or prefix in the range has the same Subnet mask and DNS Server address. The Subnetmask and the DNS server address specify the values to use if an address or prefix is allocated from a range. The default for Subnetmask is There is no default for DNSServer.
IPv4 address ranges can be specified either as lower and upper addresses (inclusive) within a class C block or as a CIDR block. IPv6 prefix ranges are specified as a CIDR block.
The step size between consecutive addresses is controlled with the Step parameter, which defaults to 1. Step of other than 1 can be useful where you need to allocate subnets of more than one address, rather than individual host addresses.
Advanced configuration for address pools is supported with optional parameters PoolGroup and Priority. A PoolGroup defines a name to group multiple pools with different priorities set by Priority. These parameters are available for AddAddressQuery (for more information, see Section 3.107.6. AllocateQuery) and the values inserted in SQL can later be used by customised allocation queries and procedures.
The following example defines two pools of addresses. The first pool is called 'pool1'. It contains addresses in the ranges to (inclusive) and to (inclusive) and the entire class C block. The IP Subnet mask for each address is The second pool is called ‘pool2’ and contains addresses in the range to (inclusive). The third pool is called 'pool3' and contains 256 IPv6 prefixes with prefix length of 64 bits.
PoolGroup, PoolPriority and NasIdentifier are made available for AddAddressQuery (for more information, see Section 3.107.12. AddAddressQuery) and can later be used by FindQuery (for more information, see Section 3.107.4. FindQuery) and other queries that need to up suitable addresses.
<AddressAllocator SQL>
      # Defines the addresses that we are prepared 
      # to allocate:
      <AddressPool pool1>
      <AddressPool pool2>
      <AddressPool pool3>
            Subnetmask /56
            Range 2001:db8:100::/48
            #PoolGroup group1
            #PoolPriority 1
            NasIdentifier 2001:db8:2::2