IPv6 Public Network Access
Updated at:2025-10-16
Overview
EIP IPv6 is the IPv6 version of EIP, providing a product experience that matches EIP IPv4. Users can bind or unbind EIP instances to Baidu Cloud Compute (BCC) or Baidu Load Balancer (BLB) instances to assign IPv6 addresses and public network bandwidth, enabling flexible service adjustments and improved scalability.
Description:
- Before binding Baidu Cloud Compute (BCC) or other instances to an EIP IPv6, an IPv6 segment must first be allocated to the VPC and its corresponding subnet. The IPv6 address assigned to the instance serves as an internal IP address. Binding the EIP IPv6 to the instance facilitates 6to6 address translation, directing the traffic to the EIP gateway and ultimately enabling public IPv6 access.
- Instances within the same VPC (e.g., Baidu Cloud Compute (BCC), Baidu Load Balance (BLB)) cannot simultaneously use EIP IPv6 and IPv6 gateway. If an IPv6 gateway is created, cloud resources in this VPC cannot bind EIP IPv6. For IPv6 gateway configuration, refer to VPC-Using IPv6. The following configuration uses EIPv6 as an example.
Solution overview
As shown below, users can bind EIP IPv6 to cloud service instances to enable public IPv6 access for these instances.

Configuration steps
Configure IPv6 VPC
Add IPv6 network segment when creating VPC
- Sign in to the Baidu AI Cloud console.
- Go to Product Service - Virtual Private Cloud (VPC), then select Virtual Private Cloud from the left navigation menu to view the VPC LIST page.
- Click Create VPC, toggle on the IPv6 segment allocation option in the dialog box, and the system will automatically assign a /56 IPv6 CIDR block to the VPC.

Description:
- By default, no IPv6 network segment is assigned when creating a VPC.
- IPv6 address segments are automatically allocated by the system and cannot be customized or modified by users.
- If there are IPv6 subnets within a VPC, the corresponding IPv6 network segment cannot be deleted.
Add IPv6 network segment to an existing VPC
- Sign in to the Baidu AI Cloud console.
- Go to Product Service - Virtual Private Cloud (VPC), then select Virtual Private Cloud from the left navigation menu to view the VPC LIST page.
- Click Allocate IPv6 Network Segment in the VPC list, and the system will automatically assign an IPv6 network segment with a /56 mask to the VPC.

Configure IPv6 subnet
- In the Virtual Private Cloud console, assign an IPv6 network segment to a VPC instance.
- Users can allocate an IPv6 CIDR block with a /64 mask directly to a new subnet or remove the IPv6 segment from an existing subnet.

Create EIP IPv6
- Sign in to the Baidu AI Cloud console.
- Go to Product Service - EIP, then select Instance from the left navigation bar to access the EIPv6 List page.
- Click the Create Instance button and fill in the configuration details to complete the EIP IPv6 creation.

Bind EIP IPv6 to Baidu Cloud Compute
- Sign in to the Baidu AI Cloud console.
- Go to Product Service - Baidu Cloud Compute BCC, then select Instance in the left navigation bar to access the Baidu Cloud Compute List page.
- Click on the name of the Baidu Cloud Compute instance, go to the BCC-Network Interface Card page, click Allocate IPv6 IP, and bind the EIP IPv6.

Description:
- After binding the EIP IPv6, Baidu Cloud Compute instances need to either restart or execute "dhclient -6" to obtain an IPv6 address.
