Creating a subnet pool

To create a subnet pool, you will need the following information at a minimum:

  • Subnet pool prefix in CIDR notation
  • Subnet pool name
Additional information can be provided based on your environment and can be determined using the openstack subnet pool create -h command.

To demonstrate this command in action, create a subnet pool with the following characteristics:

  • Name: MySubnetPool
  • Subnet Pool CIDR: 172.31.0.0/16

To create the subnet pool, refer to the following screenshot:

The subnet pool MySubnetPool is now available for use, but only by the project that created it, as shared is False.

The default prefix length is 8, which is not ideal and will cause issues if users do not specify a prefix length when creating a subnet. Setting a default prefix length when creating the subnet pool is highly recommended.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset