Help Center/ Elastic IP/ User Guide/ IPv6 EIP/ Enabling or Disabling IPv6 EIP
Updated on 2025-07-31 GMT+08:00

Enabling or Disabling IPv6 EIP

Scenarios

If your applications deployed on an ECS need to provide services through IPv6 addresses but the ECS does not support IPv6 networks and you do not want to build an IPv6 network either, you can use the IPv6 EIP function to quickly meet your requirements.

Enabling IPv6 EIP

  • Method 1:

    Assign an EIP with IPv6 EIP enabled by referring to section Assigning an EIP.

    After the IPv6 EIP function 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 function is enabled, you will obtain both an IPv4 EIP and an IPv6 EIP. External IPv6 addresses can access cloud resources through this IPv6 EIP.

  • Only dynamic BGP EIPs support the IPv6 EIP function.
  • There is no adverse impact on the cloud resources bound with existing IPv4 EIPs.

Configuring Security Groups

After the IPv6 EIP function 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/Destination

Inbound

All

NOTE:

Configure as required.

Source: 198.19.0.0/16

Outbound

All

Destination: 198.19.0.0/16

Disabling IPv6 EIP (Releasing an IPv6 EIP)

If you do not need an IPv6 EIP anymore, do as follows:
  1. Configure security group rules to deny traffic to and from 198.19.0.0/16.
  2. In the EIP list, locate the row that contains its corresponding IPv4 EIP, click More in the Operation column, and click Disable IPv6 EIP. Then, the IPv6 EIP will also be released.

You will only have the IPv4 EIP.