Working with IP addresses - Adaptive Applications - BlueCat Gateway - 22.1

Cisco DNA Generic IPAM Driver Administration Guide

Locale
English (United States)
Product name
BlueCat Gateway
Version
22.1

Once you have configured IP Address Pools and Sub-Pools, you can assign and release IP addresses in Cisco DNA Center. The IP address assignment and releases are reflected in Address Manager.

When you are assigning and releasing IP addresses in Cisco DNA Center, use the Cisco DNA Center IPAM API. For more information, refer to https://developer.cisco.com/docs/dna-center/#!ipam-api-reference.

Assigning IP addresses

  1. Retrieve an authentication token to use the Cisco DNA Center IPAM API using the POST /dna/system/api/v1/auth/token API method.
  2. Retrieve the ID of the Pool where you would like to assign the IP address using the GET /api/v2/ippool API method.
  3. Using the ID of the Pool, assign IP addresses in that Pool and select the number of addresses you would like to assign using the POST /api/v1/maintenance/assignip API method.
  4. Verify that the IP addresses were successfully assigned in the Pool by retrieving all addresses in the Pool based on the ID of the Pool using the GET /api/v2/ippool/address API method.

Once you have assigned the IP addresses, you can verify that the IP addresses have been assigned in Address Manager by navigating to the IPv4 network of the IP Pool.

Releasing IP addresses

  1. Retrieve an authentication token to use the Cisco DNA Center IPAM API using the POST /dna/system/api/v1/auth/token API method.
  2. Release the IP addresses by specifying the IP address list using the POST /api/v1/maintenance/releaseip API method.

Once you have released the IP addresses, you can verify that the IP addresses have been released in Address Manager by navigating to the IPv4 network of the IP Pool.

Working with IPv6 addresses

When assigning IP addresses that have prefixes shorter than /64 to an IPv6 pool in Cisco DNA Center, the Cisco DNA Generic IPAM Driver calculates a new prefix before adding it to Address Manager. Address Manager does not allow IPv6 networks to have prefixes shorter than /64