Chapter 3. Post-deployment IPv6 operations
After you deploy the overcloud with IPv6 networking, you must perform some additional configuration.
Prerequisites
- A successful undercloud installation. For more information, see Installing director.
- A successful overcloud deployment. For more information, see Creating a basic overcloud with CLI tools.
3.1. Creating an IPv6 project network on the overcloud
The overcloud requires an IPv6-based Project network for instances. Source the overcloudrc
file and create an initial Project network in neutron
.
Prerequisites
- A successful undercloud installation. For more information, see Installing director.
- A successful overcloud deployment. For more information, see Creating a basic overcloud with CLI tools.
- Your network supports IPv6-native VLANs as well as IPv4-native VLANs.
Procedure
Source the overcloud credentials file:
$ source ~/overcloudrc
Create a network and subnet:
$ openstack network create default --external --provider-physical-network datacentre --provider-network-type vlan --provider-segment 101 $ openstack subnet create default --subnet-range 2001:db8:fd00:6000::/64 --ipv6-address-mode slaac --ipv6-ra-mode slaac --ip-version 6 --network default
This creates a basic
neutron
network calleddefault
.
Verification steps
Verify that the network was created successfully:
$ openstack network list $ openstack subnet list
3.2. Creating an IPv6 public network on the overcloud
After you configure the node interfaces to use the External network, you must create this network on the overcloud to enable network access.
Prerequisites
- A successful undercloud installation. For more information, see Installing director.
- A successful overcloud deployment. For more information, see Creating a basic overcloud with CLI tools.
- Your network supports IPv6-native VLANs as well as IPv4-native VLANs.
Procedure
Create an external network and subnet:
$ openstack network create public --external --provider-physical-network datacentre --provider-network-type vlan --provider-segment 100 $ openstack subnet create public --network public --subnet-range 2001:db8:0:2::/64 --ip-version 6 --gateway 2001:db8::1 --allocation-pool start=2001:db8:0:2::2,end=2001:db8:0:2::ffff --ipv6-address-mode slaac --ipv6-ra-mode slaac
This command creates a network called
public
that provides an allocation pool of over 65000 IPv6 addresses for our instances.Create a router to route instance traffic to the External network.
$ openstack router create public-router $ openstack router set public-router --external-gateway public