# Enable IPv6

You can enable IPv6 on Cubes when you create them or after you create them.

## Set up IPv6

You can set up IPv6 to improve the network connectivity for your virtualized environment. By setting up IPv6 for your Cubes, you can ensure that they are accessible to IPv6-enabled networks and clients.

{% hint style="info" %}
**Prerequisites:**

* Prior to enabling IPv6, make sure you have the appropriate privileges. New VDC can be created by the contract administrators, owners, or users with the **Create VDC** privilege.
* Ensure the [<mark style="color:blue;">VDC has IPv6 enabled</mark>](/cloud/network-services/vdc-networking/ip-address/ipv6.md) to configure IPv6 on Cubes.
  {% endhint %}

{% hint style="info" %}
**Note:**

* The number of bits in the fixed address is the prefix length. For Data Center IPv6 CIDR, the prefix length is **/56**.
* IPv6 CIDR assigned to LANs(/64) and NICs(/80 and /128) must be unique.
* You can create a maximum of 256 IPv6-enabled LANs per VDC.
  {% endhint %}

To enable IPv6 for Cubes, connect it to an IPv6-enabled [<mark style="color:blue;">Local Area Network (LAN)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#local-area-network-lan) using the following:

1\. In the **DCD**, go to **Menu** > **Virtual Data Centers**.

2\. Select the data center where the cube is configured.

3\. Select the respective cube in the Workspace.

4\. Select the **Network** tab on the Inspector pane for the specific Cube and enter the following:

* **Name**: It is recommended to enter a unique name for this Network Interface Controller (NIC).
* **MAC**: This field is automatically populated.
* **LAN**: Select an IPv6 enabled Local Area Network (LAN).
* **Firewall**: Specify whether you want to enable or disable the firewall. For enabling the firewall, choose **Ingress** to create flow logs for incoming traffic, **Egress** for outgoing traffic, or **Bidirectional** to create flow logs for all traffic.
* **Flow Log**: Select **+** to add a new flow log. Enter name, direction, action, target S3 bucket, and select **+ Flow Log** to complete the configuration of the flow log. It becomes applied once you provision your changes.
* **IPv4 Configuration**: This field is automatically populated. If Dynamic Host Configuration Protocol (DHCP) is enabled, the Internet Protocol version 4 (IPv4) address is dynamic, meaning it can change while the Dedicated Core Server is operational or in the case of a restart. Add additional public IP addresses in **Add IP**. It is an optional field.
* **IPv6 Configuration**: You can populate a NIC IPv6 CIDR block with prefix length /80 or allow it to be automatically assigned from the VDCs allocated range, as seen in the screenshot below. In order to use "floating" or virtual IPs, you can assign additional IPs to a NIC by selecting them from the drop-down list in **Add IP**.

5\. Click **PROVISION CHANGES**.

{% hint style="success" %}
**Result:** IPv6 is enabled for the selected cube.
{% endhint %}

![Setting up IPv6 for Cubes](/files/wCK2rASAElKATxPrbnEy)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/compute-services/cubes/dcd-how-tos/enable-ipv6-cubes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
