Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Support for IPv6 Networks in Contrail

    As of Contrail Release 2.0, support for IPv6 overlay networks is provided.

    Overview: IPv6 Networks in Contrail

    As of Contrail Release 2.0, support for IPv6 overlay networks is provided, including:

    • Configuring IPv6 subnets from the Contrail user interface or by using Neutron APIs
    • IPv6 address assignment to virtual machine interfaces over DHCPv6
    • IPv6 forwarding in overlay networks between virtual machines, and between virtual machines and BGP peers
    • IPv6 to-VPN peering with other BGP peers
    • IPv6 forwarding in Layer 2-only networks
    • IPv6 interface static routes

    Creating IPv6 Virtual Networks in Contrail

    You can create an IPv6 virtual network from the Contrail user interface in the same way you create an IPv4 virtual network. When you create a new virtual network at Configure > Networking > Networks, the Edit fields accept IPv6 addresses, as shown in the following image.

    Address Assignments

    When virtual machines are launched with an IPv6 virtual network created in the Contrail user interface, the virtual machine interfaces get assigned addresses from all the families configured in the virtual network.

    The following is a sample of IPv6 instances with address assignments, as listed in the OpenStack Horizon user interface.

    Enabling DHCPv6 In Virtual Machines

    To allow IPv6 address assignment using DHCPv6, the virtual machine network interface configuration must be updated appropriately.

    For example, to enable DHCPv6 for Ubuntu-based virtual machines, add the following line in /etc/network/interfaces:

    iface eht0 inet6 dhcp

    Also, dhclient -6 can be run from within the virtual machine to get IPv6 addresses using DHCPv6.

    Adding IPv6 Peers

    The procedure to add an IPv6 BGP peer in Contrail is similar to adding an IPv4 peer. At Configure > Infrastructure > BGP Peers, include inet6-vpn in the Address Family list to allow advertisement of IPv6 addresses.

    A sample is shown in the following.

    Note: Additional configuration is required on the peer router to allow inet6-vpn peering.

    Modified: 2015-09-02