Table of Contents |
---|
Numberedheadings | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Use cases of Abiquo IPv6There 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.
Preparation for Abiquo IPv6Router advertisement system for all networksWhen you create networks in Abiquo 2.6.2, you must configure the networks in your router advertisement system. For unmanaged networks, you would usually configure your virtual machines to receive their IP addresses from this system. 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 serviceConfigure a DHCPv6 service for non-strict private, external and public networks. The DHCPv6 service is integrated as a remote service in your Abiquo datacenters. In Abiquo 2.6.2, you cannot set up this service while you are creating a datacenter; you must add the service to your new datacenter using the GUI or the API.
To add a DHCPv6 remote service, modify the following API request for your system and run it. Note that the remote service type is "DHCPv6". Configure IP address generationWhen you create a network, use the strict option to configure manual or automatic address generation. If you set strict to true, then Abiquo will automatically generate EUI64 IP addresses and you will not be able to manually generate them. To be able to manually generate IP addresses, set the strict option to false, or omit the parameter. If you do not set the strict option, the default value is false. Create a network under IPv6Use API requests to create IPv6 networks. Remember that you must also configure the networks in your router advertisement system. Creating an IPv6 network via the API is similar to creating an IPv4 network but there are some changes to the network DTO, as shown in the following table.
Create IPv6 external network requestModify the following script and use it to create an IPv6 external network. When the network is created successfully, the API should return the network in response. For example Create IPv6 public network requestModify the following script and use it to create an IPv6 public network. Create IPv6 unmanaged network requestModify the following script and use it to create an IPv6 unmanaged network. IPs in IPv6 networksThe following DTO is an example of an IP in an IPv6 external network. As you can see:
Create an IP with a manually entered addressFor a non-strict network, you can create an IP and manually enter the address, as opposed to using one automatically generated by Abiquo. You cannot create IPs for unmanaged networks. The following scripts create IPs on the different networks: using the datacenter networks link for public and external networks, and virtual datacenter and private networks link. Enter IPv6 address for non-strict private networksModify the following script for your platform to create an IP with a manually assigned address for non-strict private network. Run the script and enter the network ID and the IP address. Enter IPv6 address for non-strict public and external networksModify the following script for your platform to create an IP with a manually assigned address for non-strict public and external networks. Run the script and enter the network ID and IP address. Create an IP with an automatically generated addressFor a strict network you must use automatically generated IP addresses in EUI-64 format. For a non-strict network, you can choose to create an IP with an automatically generated IP. If the network is private, an EUI-64 address will be generated. If the network is public or external, a random IP address will be created. To create an IP with an automatically generated address, post an IP DTO without the IP value set. Automatically generated address for private networksModify this script for your platform to create a randomly generated IP for non-strict private networks. Run the script and enter the network ID. Abiquo will create and return a valid EUI-64 IP. Automatically generated address for public and external networksModify this script to create a randomly generated IP for non-strict public and external. Run the script and enter the network ID. Abiquo will create and return a random IPv6 address. Placeholder IPs for strict external or public networksIf you generate an IP for a strict external or public network before the virtual machine is configured in the hypervisor, Abiquo will use a placeholder IP, with an ip value of "?". You can add the placeholder IP to a virtual machine and the real EUI64 IP address will be generated when the configuration is updated in the hypervisor. The following DTO is an example of placeholder IP. |