检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configuring Policy-based Routes for a Linux ECS with Multiple Network Interfaces (IPv4/IPv6) IPv6 Windows IPv4 Take an ECS running Windows Server 2012 (64-bit) as an example.
Configuring Policy-based Routes for an ECS with Multiple Network Interfaces Overview Collecting ECS Network Information Automatically Configuring IPv4 and IPv6 Policy-based Routes for a Linux ECS with Multiple Network Interfaces (Huawei Cloud EulerOS 2.0/CentOS 8.0 or Later) Manually
You can bind an EIP to the extended network interface of the ECS and configure policy-based routes to ensure that the ECS can access the Internet through the EIP. This section uses a Linux ECS as an example.
For details, see How Do I Log In to My ECS?
For details, see How Do I Log In to My ECS?
Example 2: Configuring a Security Group for an ECS Scenarios This section describes how to configure a security group for an ECS by calling APIs. Prerequisites You have purchased an ECS. For details, see Creating an ECS.
Example 1: Creating a VPC and Subnet for an ECS Scenarios This section describes how to create a VPC and subnet for an ECS by calling APIs. Prerequisites You have planned the region where you want to create the VPC and obtained the endpoint required for calling APIs.
Figure 1 Networking of an ECS with two network interfaces Parent Topic: Configuring Policy-based Routes for an ECS with Multiple Network Interfaces
When an ECS has more than one network interface, if different DNS server addresses are configured for the subnets used by the network interfaces, the ECS cannot access the Internet or domain names on the cloud.
Step 3: Buy an EIP and Bind It to the ECS Buy an EIP and bind it to the ECS so that the ECS can access the Internet. Step 4: Test Network Connectivity To test ECS connectivity, you can: Log in to the ECS from the local PC. Access the Internet from the ECS using an EIP.
Step 2: Buy an ECS Buy an ECS in the subnet you have created and configure security group rules for the ECS. Step 3: Buy an EIP and Bind It to the ECS Buy an EIP and bind it to the ECS so that the ECS can communicate with the Internet using the IPv4 address.
Example 4: Assigning a Virtual IPv6 Address to ECSs for HA Scenarios Virtual IP addresses are used for high availability as they make active/standby ECS switchover possible.
If your ECS runs Linux, refer to Configuring Policy-based Routes for a Linux ECS with Multiple Network Interfaces (IPv4/IPv6). If your ECS runs Windows, refer to Configuring Policy-based Routes for a Windows ECS with Multiple Network Interfaces (IPv4/IPv6).
Windows ECS: Checking the Firewall Configuration. Network Interface Check the network interface and DNS configurations. Linux ECS: Checking the Network Interface Configuration. Windows ECS: Checking the Network Interface Configuration.
IPv4 ECS in a Central VPC Peered to ECSs in Two Other VPCs (IPv4) A central VPC peered with two other VPCs using longest prefix match This scenario is similar to the preceding one.
On the ECS console, remotely log in to the ECS where you plan to configure SNAT.
Why Is My Windows ECS Running Slowly? Why Is My Linux ECS Running Slowly?
Constraints A mirror target is a network interface of an ECS or a load balancer, which is used to receive mirrored traffic. Each mirror session can be associated with only one mirror target. For details about the constraints on mirror targets, see Table 6.
For details, see Disabling a Windows ECS Firewall and Adding a Port Exception on a Windows ECS Firewall or Disabling a Linux ECS Firewall and Adding a Port Exception on a Linux ECS Firewall.
log in to the ECS whose lease you want to renew.