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

Collecting ECS Network Information

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

Scenarios

Before configuring policy-based routes for an ECS with multiple network interfaces, you need to collect network information about the ECS.
  • Table 1 lists the information to be collected for a Linux ECS using IPv4.
    Table 1 Linux ECS using IPv4

    ECS

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

    • IP address: 10.0.0.115
    • Subnet: 10.0.0.0/24
    • Subnet gateway: 10.0.0.1
    • IP address: 10.0.1.183
    • Subnet: 10.0.1.0/24
    • Subnet gateway: 10.0.1.1

    Destination

    IP address: 10.0.2.12

    N/A

  • Table 2 lists the information to be collected for a Linux ECS using IPv6.
    Table 2 Linux ECS using IPv6

    ECS

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

    • IPv4 address: 10.0.0.102
    • IPv6 address: 2407:c080:1200:1dd8:859c:e5d5:8b3d:a2d9
    • IPv6 subnet: 2407:c080:1200:1dd8::/64
    • IPv6 subnet gateway: 2407:c080:1200:1dd8::1
    • IPv4 address: 10.0.1.191
    • IPv6 address: 2407:c080:1200:1a9c:7cc0:63b5:8e65:4dd8
    • IPv6 subnet: 2407:c080:1200:1a9c::/64
    • IPv6 subnet gateway: 2407:c080:1200:1a9c::1

    Destination

    • IPv4 address: 10.0.2.3
    • IPv6 address: 2407:c080:1200:1dd9:16a7:fe7a:8f71:7044

    N/A

  • Table 3 lists the information to be collected for a Windows ECS using IPv4.
    Table 3 Windows ECS using IPv4

    ECS

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

    • IP address: 10.0.0.59
    • Subnet gateway: 10.0.0.1
    • IP address: 10.0.1.104
    • Subnet gateway: 10.0.1.1

    Destination

    IP address: 10.0.2.12

    N/A

  • Table 4 lists the information to be collected for a Windows ECS using IPv6.
    Table 4 Windows ECS using IPv6

    ECS

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

    IP address: 2407:c080:802:aba:6788:fb94:d71f:8deb

    IP address: 2407:c080:802:be6:71c8:42e0:d44e:eeb4

    Obtaining ECS Network Interface Addresses

    Destination

    IP address: 2407:c080:802:be7:c2e6:d99c:b685:c6c8

    N/A

NOTICE:

The above information is only for your reference.

Obtaining ECS Network Interface Addresses

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  1. Click Service List and choose Compute > Elastic Cloud Server.
  2. In the ECS list, click the target ECS name.

    The Summary tab page of the ECS is displayed.

  3. In the NICs area, view the IP addresses of the primary and extended network interfaces.

    You can view the IPv4 and IPv6 addresses of network interfaces.

    Figure 1 IPv4 and IPv6 addresses of network interfaces

Obtaining Subnet CIDR Blocks and Gateway Addresses

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  1. Click Service List and choose Compute > Elastic Cloud Server.
  2. In the ECS list, click the target ECS name.

    The Summary tab page of the ECS is displayed.

  3. In the ECS Information area, click the name of its VPC.

    The Virtual Private Cloud page is displayed.

  4. Locate the target VPC and click the number in the Subnets column.

    The Subnets page is displayed.

  5. In the subnet list, view the CIDR blocks of the subnets.

    You can view the IPv4 and IPv6 CIDR blocks of subnets.

    Figure 2 IPv4 and IPv6 CIDR blocks of subnets
  6. In the subnet list, click the subnet name.

    The Summary page is displayed.

  7. Click the IP Addresses tab and view the gateway addresses of the subnet.

    You can view the IPv4 and IPv6 addresses of a gateway.

    Figure 3 IPv4 and IPv6 addresses of a gateway

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