Help Center/ Elastic IP/ User Guide/ Elastic IP/ IPv6 EIP/ Assigning or Releasing an IPv6 EIP
Updated on 2024-10-30 GMT+08:00

Assigning or Releasing an IPv6 EIP

Scenarios

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 an IPv6 EIP to quickly address your requirements.

Enabling IPv6 EIP

  • Method 1:

    Apply for an EIP with IPv6 EIP enabled by referring to section Assigning an EIP.

    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.

  • 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 1. 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.

Table 1 Security group rules

Direction

Protocol

Source or Destination

Inbound

All

NOTE:

Configure security group rules as required.

Source: 198.19.0.0/16

Outbound

All

Destination: 198.19.0.0/16

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.