Adding a Route

Scenarios

Each route table contains a default system route, which allows that ECSs in a VPC to communicate with each other. You can add custom routes as required to forward the traffic destined for the destination to the specified next hop.

For details, see Routes.

Constraints and Limitations

When edge instances in a VPC need to access the Internet, you need to add a route and set Destination to the default value 0.0.0.0/0 and Next Hop to the edge instance or virtual IP address that has an EIP bound in the VPC.

Procedure

  1. Log in to the management console.
  2. Hover on the left menu to display Service List. Under Content Delivery & Edge Computing, select Intelligent EdgeCloud.

    The IEC Overview page is displayed.

  3. In the navigation pane on the left, choose Edge Networks > Route Tables.
  4. In the route table list, click the name of the route table that you want to add a route to.
  5. Click Add Route and set the parameters.

    Each time when you want to add a route, click +.

    Table 1 Route parameters

    Parameter

    Description

    Example Value

    Destination

    Destination CIDR block. The destination can be an IPv4 CIDR block or IPv6 CIDR block.

    The destination of each route must be unique. The destination cannot overlap with any subnet CIDR block in the VPC.

    192.168.0.0/16

    Next Hop Type

    Type of the next hop. The next hop can be an edge instance or a virtual IP address.

    Edge instance

    Next Hop

    Next-hop resource.

    The resources in the drop-down list box are displayed based on the selected next hop type.

    vm-001

    Description

    Supplementary information about the route. This parameter is optional.

    The description can contain a maximum of 255 characters and cannot contain angle brackets (< or >).

    -

  6. Click OK.