Search

Chapter 3. Post-deployment IPv6 operations

download PDF

After you deploy the overcloud with IPv6 networking, you must perform some additional configuration.

Prerequisites

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

Procedure

  1. Source the overcloud credentials file:

    $ source ~/overcloudrc
  2. 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 called default.

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

Procedure

  1. 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.

  2. Create a router to route instance traffic to the External network.

    $ openstack router create public-router
    $ openstack router set public-router --external-gateway public
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.