Configuring IPv4 Address and Prefix Ranges with Next Hop Forwarding Address
To configure the IPv4 address with the next hop configuration for IPv4 pools/address ranges, use the following sample configuration:
configure
ipam
instance nstance_id
address-pool pool_name
ipv4
address-ranges
address-range start_ipv4_address end_ipv4_address nexthop-forwarding-address nexthop_forwarding_address
prefix-range prefix_value length prefix_length nexthop-forwarding-address nexthop_forwarding_address
split-size per-cache number_of_addresses
split-size per-dp number_of_addresses
commit
NOTES:
-
address-pool pool_name : Specify the name of the address pool. pool_name must be a string.
-
ipv4 : Enter the IPv4 mode of the pool.
-
address-ranges : Specify the starting address of the IPv4 address range. Enter the IPv4 address range and prefix range addresses with the next hop forwarding address.
-
address-range start_ipv4_address end_ipv4_address nexthop-forwarding-address nexthop_forwarding_address : Specify the starting and the ending addresses of the IPv4 address range with the next hop forwarding address.
-
prefix-range prefix_value length prefix_length : Specify the prefix value and the length within the IPv4 address.
-
nexthop-forwarding-address nexthop_forwarding_address : Specify the next hop forwarding address.
-
-
split-size per-cache number_of_addresses : Specify the number of IPv4 addresses per chunk for IPAM cache allocation. Specify in the power of 2. The IPAM server consumes this configuration. number_of_addresses must be an integer in the range of 2-262144.
-
split-size-per-dp number_of_addresses : Specify the number of IPv4 addresses per chunk for data plane allocation. Specify in the power of 2. The IPAM cache consumes this configuration.
number_of_addresses must be an integer in the range of 2-262144.
Configuration Example
The following is an example configuration.
config
ipam
instance 1
address-pool p1
ipv4
split-size per-cache 1024
split-size per-dp 256
end