This topic describes how to publish the route of an attached VPC or Virtual Border Router (VBR) to Cloud Enterprise Network (CEN). After you publish a route of an attached VPC or VBR to a CEN instance, other networks attached to the same CEN instance can learn the route.

Background information

The following table lists the route entries that can be published to CEN.
Note Currently, the console only supports publishing VPC routes to CEN. If you need to publish VBR routes to CEN, call the PublishRouteEntries API. For more information, see PublishRouteEntries.
Route entries Network Published to CEN by default?
A route entry pointing to an ECS instance VPC No
A route entry pointing to a VPN Gateway VPC No
A route entry pointing to a High-Availability Virtual IP Address (HaVip) VPC No
A VPC system route entry VPC Yes
A route entry pointing to an on-premises data center VBR Yes
A BGP route entry VBR Yes
As shown in the following figure, four VPCs are attached to a CEN instance. The VPC in the Hangzhou region is configured with a VPN Gateway to connect to the on-premises data center. After you publish the route entry pointing to the VPN Gateway in the Hangzhou VPC to the CEN instance, the other three VPCs learn the route and can also communicate with the on-premises data center.
Publish a route to CEN

Procedure

  1. Log on to the CEN console.
  2. On the Instances page, find the target CEN instance, and click Manage in the Actions column.
  3. On the CEN page, click the Networks tab. Find the attached VPC and click the VPC ID.
  4. On the VPC Details page, click the link to the route table.
  5. On the Route Tables page, find the target route table, and click Manage in the Actions column.
  6. On the Route Entry List tab, find the target route entry, and click Publish in the Route Status in CEN column.
  7. In the Publish Route Entry dialog box, click OK.