Help Center/Elastic Cloud Server/Troubleshooting/General Issues/How Do I Configure Multiple IP Addresses for an ECS with Multiple NICs Attached?
Updated on 2026-03-23 GMT+08:00

How Do I Configure Multiple IP Addresses for an ECS with Multiple NICs Attached?

Symptom

If an ECS has multiple NICs, perform the following operations to configure policy-based routing for the ECS to enable the network communication of secondary NICs.

Possible Causes

No routing rules are configured for the EIPs bound to the extension NICs.

Operation Guide

Table 1 provides the operation guides on how to configure policy-based routes for Linux and Windows ECSs.

Table 1 Operation instructions on how to configure policy-based routes

OS Type

IP Address Version

Procedure

Linux

IPv4

Take an ECS running CentOS 8.0 (64-bit) as an example.

For details, see section Configuring Policy-based Routes for a Linux ECS with Multiple Network Interfaces under Configuring Policy-based Routes for an ECS with Multiple Network Interfaces in the Virtual Private Cloud Best Practices.

IPv6

Windows

IPv4

Take an ECS running Windows Server 2012 (64-bit) as an example.

For details, see section Configuring Policy-based Routes for a Windows ECS with Multiple Network Interfaces under Configuring Policy-based Routes for an ECS with Multiple Network Interfaces in the Virtual Private Cloud Best Practices.

IPv6