IPv6 EIP
Overview
Both IPv4 and IPv6 EIPs are available. You can assign an IPv6 EIP or map an existing IPv4 EIP to an IPv6 EIP.
After the IPv6 EIP function is enabled, you will obtain both an IPv4 EIP and its corresponding IPv6 EIP. External IPv6 addresses can access cloud resources through this IPv6 EIP.
Application Scenarios of IPv4/IPv6 Dual Stack
If your ECS supports IPv6, you can use the IPv4/IPv6 dual stack. For details about application scenarios and resource planning, see Table 1.
The ECS flavors that support IPv6 vary depending on regions and AZs. Check whether an ECS flavor supports IPv6 after you select a region and AZ on the management console.
If the value of IPv6 is Yes for an ECS flavor, the flavor supports IPv6.
AZ and Flavor determine whether IPv6 is supported.
After you select an AZ, if IPv6 is not displayed or the value of IPv6 is No, IPv6 is not supported by any or certain flavors in the AZ.
Application Scenario |
Description |
Requirement |
IPv4 or IPv6 Subnet |
ECS |
---|---|---|---|---|
Private IPv4 communication |
Your applications on ECSs need to communicate with other systems (such as databases) through private networks using IPv4 addresses. |
|
IPv4 CIDR Block |
Private IPv4 address: used for private IPv4 communication. |
Public IPv4 communication |
Your applications on ECSs need to communicate with other systems (such as databases) through public IPv4 addresses. |
|
IPv4 CIDR Block |
|
Private IPv6 communication |
Your applications on ECSs need to communicate with other systems (such as databases) through private IPv6 addresses. |
|
|
|
Public IPv6 communication |
An IPv6 network is required for the ECS to access the IPv6 service on the Internet. |
NOTE:
For details, see Setting Up an IPv6 Network. |
|
|
For details, see IPv4 and IPv6 Dual-Stack Network.
Application Scenarios of IPv6 EIP
If you want an ECS to provide IPv6 services but the ECS does not support IPv6 networks or you do not want to build an IPv6 network, you can use IPv6 EIP to quickly address your requirements. For details about application scenarios and resource planning, see Table 2.
Application Scenario |
Description |
Requirement |
IPv4 or IPv6 Subnet |
ECS |
---|---|---|---|---|
Public IPv6 communication |
You want to allow an ECS to provide IPv6 services for clients on the Internet without setting up an IPv6 network. |
|
IPv4 CIDR Block |
|
Enabling IPv6 (Assigning IPv6 EIPs)
- Method 1:
Select the IPv6 EIP option when you assign an EIP by referring to Assigning an EIP and Binding It to an ECS so that you can obtain both an IPv4 and an IPv6 EIP.
External IPv6 addresses can access cloud resources through this IPv6 EIP.
- Method 2:
If you want an IPv6 EIP in addition to an existing IPv4 EIP, locate the row that contains the target IPv4 EIP, click More in the Operation column, and select Enable IPv6 EIP. Then, a corresponding IPv6 EIP will be assigned.
After the IPv6 EIP is enabled, you will obtain both an IPv4 EIP and an IPv6 EIP. External IPv6 addresses can access cloud resources through this IPv6 EIP.
There is no adverse impact on the cloud resources bound with existing IPv4 EIPs.
Configuring Security Groups
After the IPv6 EIP is enabled, you need to configure security group rules to allow traffic to and from 198.19.0.0/16. For details about the security group rules, see Table 3. IPv6 EIP uses NAT64 to convert the source IP address in the inbound direction to an IPv4 address in the IP address range 198.19.0.0/16. The source port can be a random one, the destination IP address is the private IPv4 address of your local server, and the destination port remains unchanged.
For details, see Virtual Private Cloud User Guide.
Disabling IPv6 EIP
If you do not need the IPv6 EIP, locate the row that contains its corresponding IPv4 EIP, click More in the Operation column, and select Disable IPv6 EIP. Then, the IPv6 EIP will be released. You will only have the IPv4 EIP.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.