After you create an IPsec-VPN connection, you can create a destination-based route for the IPsec-VPN connection. Destination-based routing is a technique that routes network traffic to specified destination IP addresses. This topic describes how to create, advertise, modify, and delete a destination-based route.
Prerequisites
An IPsec-VPN connection is created. For more information, see Create an IPsec-VPN connection.
Usage notes
- You cannot create a destination route whose destination CIDR block is 0.0.0.0/0.
- When you create a destination-based route for an IPsec-VPN connection, do not create a route that meets the following conditions: The destination CIDR block is 100.64.0.0/10 or one of its subnets. The next hop is the IPsec-VPN connection. Such a route results in one of the following errors: The status of the IPsec-VPN connection cannot be displayed in the console. The negotiations of the IPsec-VPN connection fail.
Create a destination-based route
Advertise a destination-based route
Modify a destination-based route
You can change the weight of an existing destination-based route.
- Log on to the VPN Gateway console.
- In the top navigation bar, select the region where the VPN gateway is deployed.
- On the VPN Gateways page, find the VPN gateway and click its ID.
- On the Destination-based Routing tab, find the destination-based route that you want to manage and click Edit in the Actions column.
- In the panel that appears, specify a weight for the destination-based route and click OK.
Delete a destination-based route
- Log on to the VPN Gateway console.
- In the top navigation bar, select the region where the VPN gateway is deployed.
- On the VPN Gateways page, find the VPN gateway and click its ID.
- On the Destination-based Routing tab, find the destination-based route that you want to delete and click Delete in the Actions column.
- In the Delete Route Entry message, click OK.