Skip to main content

Manage a destination-based route

Overview

A destination-based route forwards traffic based on destination IP addresses. This topic describes how to create, advertise, modify, and delete a destination-based route.

Prerequisites

An IPsec-VPN connection is created.

Procedure

  • Create a destination-based route
  1. On the VPN console interface, select and click the target VPN instance. fg-dc-vpn-3.1.4-1
  2. Click the Destination-based Routing tab, and then click Add Route Entry. fg-dc-vpn-3.1.4-2
  3. In the Add Route Entry panel, set the following parameters and click OK.
Parameter Description
Destination CIDR Block Enter the private CIDR block that you want to access. Source CIDR Block
Next Hop Type Select IPsec Connection.
Next Hop Select the IPsec-VPN connection for which you want to create a destination-based route.
Publish to VPC Specify whether to advertise the route to the virtual private cloud (VPC) route table.
· Yes : automatically advertises the route to the route table of the VPC. We recommend that you select this value.
· No : does not advertise the policy-based route to the VPC route table.
Note If you select No , you must manually advertise the destination-based route to the VPC route table.
Weight Select a weight:
· 100 : specifies a high priority for the destination-based route.
· 0 : specifies a low priority for the destination-based route.
Note If a route table contains multiple destination-based routes that have the same destination CIDR block and weight, a destination-based route is randomly selected to forward traffic.

fg-dc-vpn-3.1.4-3
fg-dc-vpn-3.1.4-4

  • Advertise a destination-based route
  1. On the Destination-based Routing tab, find the destination-based route that you want to manage and click Publish in the Actions column. fg-dc-vpn-3.1.4-5
  2. In the Publish Route Entry message, click OK. If you want to withdraw the destination-based route, click Revocation of publication. fg-dc-vpn-3.1.4-6
    fg-dc-vpn-3.1.4-7
  • Modify a destination-based route
  1. On the Destination-based Routing tab, find the destination-based route that you want to manage and click Edit in the Actions column. fg-dc-vpn-3.1.4-8
  2. In the panel that appears, specify a weight for the destination-based route and click OK. fg-dc-vpn-3.1.4-9
  • Delete a destination-based route
  1. On the Destination-based Routing tab, find the destination-based route that you want to delete and click Delete in the Actions column. fg-dc-vpn-3.1.4-10
  2. In the Delete Route Entry message, click OK. fg-dc-vpn-3.1.4-11