Table of Contents |
---|
...
Abiquo supports IPv6 networking in the Abiquo UI and API.Users can create Abiquo privatefor private, public, external and unmanaged IPv6 networks via GUI and API.
In the GUI, cloud users will be able to use IPv6 networks in the same way as IPv4 networks are used. Addresses will be listed and selected through the GUI.
If you wish to use Abiquo (and a DHCPv6 server) to assign addresses, IPv6 will require one DHCPv6 server for each datacenter. This means that each datacenter needs a remote services with both an IPv4 and IPv6 DHCP server running. The DHCP and DHCPv6 servers may be running on the same machine.
The implementation covers . It supports any valid IPv6 address format (short or long) . It also covers and the creation of IP addresses with most of the transitional IPv6 technologies: IPv4-mapped, IPv4-compatible, Teredo and ISATAP. This first version has limitations on the number of IPv6 NICs per virtual machine.
Full implementation diagram: ipv6.png
Use Cases of Abiquo IPv6
There are two main use cases for IPv6 in Abiquo: Automatic generation of IPv6 address and Manual entry of IPv6 address. These two use cases are distinguished in Abiquo by the strict parameter. When strict = true, Abiquo enforces EUI-64 IP address generation.
Strict Networks | Abiquo automatically generates IPv6 address |
---|---|
Description |
|
Strict network? | Network parameter strict = true |
Router advertisement system |
|
DHCPv6 |
|
Placeholder IPs |
|
Non-strict Networks | User may manually enter IPv6 address |
---|---|
Description |
|
Strict network? | Network parameter strict = false |
Router advertisement system |
|
DHCPv6 |
|
Automatic IPv6 generation is also supported |
|
A basic sample configuration for testing the Manual IP entry use case is available from Abiquo Support.
To use Abiquo and a DHCPv6 server to assign addresses, IPv6 will require one DHCPv6 server for each datacenter. The DHCP and DHCPv6 servers may be running on the same machine. Cloud users will be able to work with IPv6 networks in the same way as IPv4 networks with addresses listed and selected through the user interface.
Full implementation diagram: ipv6.png
Abiquo supports two use cases of IPv6: "strict" networks that enforce EUI-64 IP address generation and manual address entry. See
Preparation for Abiquo IPv6
Router Advertisement System for All Networks
...
In effect, with strict networks where the allocation of EUI64 addresses is enforced, the addresses that will be assigned by the router advertisement system based on the MAC are predictable. So the address generated and displayed in Abiquo should be the same as the one allocated by the router advertisement system. This means that the DHCP is not necessary for strict networks.
DHCP v6 Service
When you create a standard Abiquo datacenter, a DHCPv6 service is automatically added. This service is required for IPv6 networks. Note that in strict networks the addresses assigned by the router advertisement system based on the MAC are predictable. So the address generated and displayed in Abiquo should be the same as the one allocated by the router advertisement system.
Change DHCP v6
You can change the DHCPv6 remote service to another server via the GUI or via the API. First delete the existing service, then use the GUI or an API request similar to the one below to add a new DHCPv6 server. Note that the remote service type is "DHCPv6".
...
Configure your templates so that your virtual machines will run the DHCPv6 client to retrieve the assigned IP address. Note that with a suitable configuration of the DUID of the virtual machine template, more than one NIC with an IPv6 address can be assigned to a Linux virtual machine. But only one NIC with an IPv6 address can be assigned to a Windows virtual machine.
...
title | Configure Windows DUID |
---|
...
If you are using a Windows template, configure the DUID in the registry.
...
title | Configure CentOS Security |
---|
If you are using a
...
CentOS
...
virtual machine template, remember to correctly configure SELinux and IP tables to ensure connectivity.
Create an IPv6 Network using the UI
Go to the Public or External Networks tab of your datacenter or the Private networks tab of your virtual datacenter to create an IPv6 network.
See Manage Public Networks, Manage External Networks, Manage Unmanaged Networks and Manage Private Networks for more information.
...
More than One IPv6 Address in Unix
Modify the template to dynamically generate a DUID using a predictable method of DUID is equal to MAC. This means the template must generate the DUID of the DHCPv6 client with the method "DUID Based on Link-layer Address [DUID-LL]", to enable the Unix virtual machines to receive more than one IP address through DHCPv6.