If your ECS requires multiple network interfaces, you can attach them to your ECS.
in the upper left corner and select a region and project.The ECS details page is displayed.
Set the subnet and security group for the network interface to be attached.
Some OSs cannot identify newly attached network interfaces. In this case, you need to manually activate the network interfaces. The following uses Ubuntu as an example to show how to activate network interfaces. Operations may vary depending on the operating system. You can refer to the corresponding OS documentation for assistance.
in the upper left corner and select a region and project.Log in to the ECS.
ifconfig -a
In this example, the network interface name is eth2.
cd /etc/network
vi interfaces
auto eth2
iface eth2 inet dhcp
:wq
X in the preceding command indicates the serial number of the network interface, for example, ifup eth2.
ifconfig
For example, check whether eth2 is displayed in the command output.