Help Center> Elastic Cloud Server> Troubleshooting> General Issues> How Do I Configure Multiple IP Addresses for an ECS with Multiple NICs Attached?
Updated on 2023-03-03 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

This document describes how to configure policy-based routes for Linux and Windows ECSs. For details, see Table 1.

Table 1 Operation instructions

OS Type

IP Address Version

Procedure

Linux

IPv4

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

Configuring Policy-based Routes for a Linux ECS with Multiple NICs (IPv4/IPv6)

IPv6

Windows

IPv4

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

Configuring Policy-based Routes for a Windows ECS with Multiple NICs (IPv4/IPv6)

IPv6