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
Situation Awareness
Managed Threat Detection
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
On this page

Route Overview

Updated on 2024-08-19 GMT+08:00

What Is a Route?

Routes are used to forward packets. A route contains information such as the destination, next hop, and route type.

You can create a propagation for attachments to automatically propagate routes to route tables or manually add static routes to route tables.

Figure 1 Propagated routes and static routes
Table 1 Route types

Route Type

Description

Attachment Type

How to Create

Description

Propagated routes

Propagated routes are routes that attachments propagate to the route tables of the enterprise router. They cannot be modified or deleted.

  • VPC
  • Virtual gateway
  • Peering connection
  • VPN gateway
  • Global DC gateway
  • CFW instance

To create a propagation, see Creating a Propagation for an Attachment in the Route Table.

Routes are classified into propagated routes and static routes. The routes shown in Figure 1 are described as follows:
  • Propagated routes are from:
    • Propagations automatically created in the default route table of the enterprise router for attachments, such as peering connection 2, virtual gateway 1, VPN gateway 1, and VPC 1 attachments.
    • Propagations manually created in the custom route table of the enterprise router for attachments, such as virtual gateway 1, VPC 1, VPN gateway 2, and virtual gateway 2 attachments.
  • Static routes are manually added to the custom route table of the enterprise router for attachments, such as VPC 2 and peering connection 3 attachments.

Static routes

Static routes are manually created and can be modified or deleted.

Static routes are classified into common routes and blackhole routes. A blackhole route only has a destination and has no next hop. It drops all traffic sent to the specified destination.

  • VPC
  • Peering connection
  • CFW instance

To create a route, see Creating a Static Route.

Route Priority

If there are multiple routes with the same destination but different targets in a route table, the route priority is as follows:

Static route > Propagated route for VPC attachment = Propagated route for CFW instance attachment > Propagated route for virtual gateway attachment = Propagated route for global DC gateway attachment > Propagated route for VPN gateway attachment > Propagated route for peering connection attachment

NOTE:
  • Static routes are manually configured and the destination of each static route must be unique in a route table.
  • Propagated routes are automatically learned by the system and may have the same destination in a route table.
  • A static route and a propagated route may have the same destination in a route table.
  • If the destinations of different routes overlap, the longest prefix match routing is used. The route that has the longest subnet mask and is the most specific of the matching table entries is preferentially used to determine the next hop.

    For example, if the destination of traffic is 192.168.1.12/32, the destination of one route is 192.168.0.0/16 with a VPN attachment as the next hop, and the destination of another route B is 192.168.1.0/24 with a VPC attachment as its next hop, the traffic preferentially matches the route with the VPC attachment as the next hop.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback