Configuring IPv4 Address Ranges

Use the following configuration to configure the IPv4 address ranges.

configure 
   ipam   
      address-pool pool_name 
         vrf-name string 
         ipv4 
            address-range start_ipv4_address end_ipv4_address 
            commit 

NOTES:

  • ipam : Enters the IPAM configuration mode.

  • address -pool pool_name : Configures the address pool configuration. pool_name must be the name of the address pool.

  • vrf-name string : Configures the Virtual routing and forwarding (VRF) name of the pool.

  • ipv4 : Enters the IPv4 mode of the pool.

  • address-range start_ipv4_address end_ipv4_address : Configures the IPv4 range. start_ipv4_address specifies the starting IPv4 address. end_ipv4_address specifies the ending IPv4 address.

The following is a sample configuration:

configure 
   ipam 
      address-pool p1
         vrf-name one
         ipv4
            address-range 1.1.1.10 1.1.1.255
            address-range 2.2.2.1 2.2.2.255