El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Cloud Application Engine/ Best Practices/ Connecting the Network Through Enterprise Routes

Connecting the Network Through Enterprise Routes

Updated on 2025-01-17 GMT+08:00

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).

  1. Go to the Enterprise Router console.
  2. 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

    -

  3. Click Create Now > Submit.
  4. On the enterprise router page, click er-878b, and click the Attachments tab.
  5. 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.

    Table 2 Creating a VPC attachment on the tenant side

    Parameter

    Example Value

    Name

    er-attach-374d

    Attachment Type

    VPC

    Attached Resource

    • VPC: vpc-10
    • Subnet: wtr-test(10.0.1.0/24)

    Auto Add Routes

    Enable

    Advanced Settings-Description

    -

    Advanced Settings-Tag

    -

    Table 3 Creating a VPC attachment in the CAE environment

    Parameter

    Example Value

    Name

    er-attach-f855

    Attachment Type

    VPC

    Attached Resource

    • VPC: vpc-wc
    • Subnet: wtr-test(10.0.1.0/24)

    Auto Add Routes

    Enable

    Advanced Settings-Description

    -

    Advanced Settings-Tag

    -

  6. 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.

  1. Go to the NAT Gateway console.
  2. 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.

  3. Click Next > Pay Now. After the payment is complete, the public NAT gateway is created.

  4. In the public NAT gateway list, locate the created gateway nat-7a60 and click Configure Rules in the Operation column.
  5. 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

    -

  6. 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.

  1. Go to the ECS console.
  2. 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.

  3. 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.

  1. Go to the Enterprise Router console.
  2. Click the created enterprise router er-878b and click the Route Tables tab.
  3. 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

    -

  4. Click OK.
  5. 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.

    Table 7 Parameters for creating a route (with an enterprise router as the next hop)

    Parameter

    Example Value

    Destination

    10.0.0.0/16

    Blackhole Route

    Disable

    Attachment Type

    VPC

    Next Hop

    er-878b

    Description

    -

    Table 8 Parameters for creating a route (with a NAT gateway as the next hop)

    Parameter

    Example Value

    Destination

    100.93.0.0/16

    Blackhole Route

    Disable

    Attachment Type

    VPC

    Next Hop

    nat-7a60

    Description

    -

  6. Click OK.

Step 4: Add the Destination Network Address to the CAE Environment

  1. Go to the CAE console.
  2. Choose System Settings.
  3. Find System Networks and click Edit.
  4. 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.
  5. 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.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback