Add and manage IPv6 routes in VPC route tables to control IPv6 traffic flow.
IPv6 routes
When you enable IPv6 for a VPC and its vSwitches, the system adds the following entries to all vSwitch route tables:
-
system route: A route entry with the vSwitch IPv6 CIDR block as its destination. Enables IPv6 communication between instances in the vSwitch.
-
custom route: A route entry with
::/0as its destination and an IPv6 gateway as its next hop. Enables internet-bound IPv6 traffic from the VPC.
You can add custom IPv6 routes to vSwitch route tables to control traffic paths.
-
destination CIDR block: Specify a custom IPv6 CIDR or use a prefix list.
-
next hop: Select an ECS Instance, an IPv6 Gateway, an ENI, a Router Interface (to VBR), an ECR, a VPC Peering Connection, a GWLB Endpoint, or a Transit Router. Typical scenarios for each type: Configuration examples.
You cannot add entries to an IPv6 gateway route table, but you can change the next hop of a route entry.
Console
Add a route entry
-
Log on to the VPC console, go to the Route Tables page, and open the target route table.
-
On the tab, click Add Route Entry. Configure the Destination CIDR Block and Next Hop Type, and select an instance.
If an error occurs, verify that the entry meets the route priority requirements.
Delete a route entry
For the target route entry, click Delete in the Actions column.
Assess the impact on your services before deleting a route entry.
API
-
To create a custom route entry, call the CreateRouteEntry operation.
-
To delete a custom route entry, call the DeleteRouteEntry operation.