El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.
Connecting the Network Through Enterprise Routes
CAE allows the CAE environment to access the VPC on the tenant side. This section describes how to use enterprise routes to connect the network after the public network is disabled.
Step 1: Create an Enterprise Route and an Attachment
Create an enterprise router and an attachment to the enterprise router. In this example, vpc-wc is the VPC (network segment: 192.168.0.0/16) to which the CAE environment belongs, and vpc-10 is the VPC on the tenant side (network segment: 10.0.0.0/16).
- Go to the Enterprise Router console.
- Click Create Enterprise Router. On the displayed page, set the parameters as follows. For details, see Creating an Enterprise Router.
Table 1 Parameters for creating an enterprise router Parameter
Example Value
Region
AP-Singapore
AZ
AZ3
Enterprise Project
default
Name
er-878b
ASN
64513
Default Route Table Association
Enable
Default Route Table Propagation
Enable
Auto Accept Shared Attachments
Disable
Tag
-
Description
-
- Click Create Now > Submit.
- On the enterprise router page, click er-878b, and click the Attachments tab.
- On the Attachments tab, click Create Attachment. On the displayed page, set parameters by referring to Table 2 and Table 3. For details, see Creating a VPC Attachment.
- Click Create Now.
Step 2: Create a NAT Gateway
Buy a public NAT gateway. The VPC is the VPC to which the CAE environment belongs. In this example, it is vpc-wc.
- Go to the NAT Gateway console.
- Click Buy Public NAT Gateway. On the displayed page, set the parameters as follows. For details, see Buying a Public NAT Gateway.
Table 4 Parameters for buying a public NAT gateway Parameter
Example Value
Region
CN North-Beijing4
Billing Mode
Select a billing mode.
Specifications
Select public NAT gateway specifications.
Name
nat-7a60
VPC
vpc-wc
Subnet
cae-subnet
Enterprise Project
default
Advanced Settings-Description
-
Advanced Settings-Tag
-
Required Duration
Select a duration.
- Click Next > Pay Now. After the payment is complete, the public NAT gateway is created.
- In the public NAT gateway list, locate the created gateway nat-7a60 and click Configure Rules in the Operation column.
- On the SNAT Rules tab, click Add SNAT Rule. In the displayed dialog box, set the parameters as follows. For details, see Adding an SNAT Rule.
Table 5 Parameters for adding an SNAT rule Parameter
Example Value
Public NAT Gateway Name
nat-7a60
Scenario
VPC
CIDR Block
cae-subnet (192.168.0.0/24)
Public IP Address Type
100.95.154.131
Monitoring
-
Description
-
- Click OK.
Step 3: Create an ECS Node on the Tenant Side
The ECS node created on the tenant side belongs to vpc-10. The EIP of the node is 100.93.0.237, and the private IP address is 10.0.0.80.
- Go to the ECS console.
- Click Buy ECS. On the displayed page, set parameters based on service requirements. For details, see Purchasing an ECS.
NOTE:
In the Network area, set VPC to the tenant VPC. In this example, the tenant VPC is vpc-10, the EIP of the node is 100.93.0.237, and the private IP address is 10.0.0.80.
- Click Submit.
Step 4: Create a Route Table and Routes
Add routes to the route table of the VPC (vpc-wc) to which CAE belongs. 10.0.0.0/16 is the private network segment, and 100.93.0.0/16 is the public network segment.
- Go to the Enterprise Router console.
- Click the created enterprise router er-878b and click the Route Tables tab.
- Click Create Route Table and set the following parameters. For details, see Creating a Route Table.
Table 6 Parameters for creating a route table Parameter
Example Value
Name
rtb-vpc-wc
Description
-
Tag
-
- Click OK.
- On the Route Tables page, select the created route table rtb-vpc-wc. On the Routes tab, click Create Route. Set the parameters by referring to Table 7 and Table 8. For details, see Creating a Static Route.
- Click OK.
Step 4: Add the Destination Network Address to the CAE Environment
- Go to the CAE console.
- Choose System Settings.
- Find System Networks and click Edit.
- Click Add Destination Network Address, select the destination network address with the NAT gateway as the next hop, and click OK to complete the public network route configuration.
- Click Add Destination Network Address, select the destination network address with the enterprise router as the next hop, and click OK to complete the private network route configuration.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot