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

Collecting ECS Network Information

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 addresses

    Type

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

    • IPv4 address: 10.0.0.115
    • Subnet IPv4 CIDR block: 10.0.0.0/24
    • Subnet IPv4 gateway: 10.0.0.1
    • IPv4 address: 10.0.1.183
    • Subnet IPv4 CIDR block: 10.0.1.0/24
    • Subnet IPv4 gateway: 10.0.1.1

    Destination

    IPv4 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 addresses

    Type

    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
    • Subnet IPv6 CIDR block: 2407:c080:1200:1dd8::/64
    • Subnet IPv6 gateway: 2407:c080:1200:1dd8::1
    • IPv4 address: 10.0.1.191
    • IPv6 address: 2407:c080:1200:1a9c:7cc0:63b5:8e65:4dd8
    • Subnet IPv6 CIDR block: 2407:c080:1200:1a9c::/64
    • Subnet IPv6 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

    Type

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

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

    Destination

    IPv4 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

    Type

    Primary Network Interface

    Extended Network Interface

    How to Obtain

    Source

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

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

    Obtaining ECS Network Interface Addresses

    Destination

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

    N/A

The above information is only for your reference.

Obtaining ECS Network Interface Addresses

  1. Go to the ECS list page.
  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. Go to the ECS list page.
  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