检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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 Manually Configuring IPv4 and IPv6 Policy-based Routes for a Linux ECS with Multiple Network Interfaces (CentOS) Manually Configuring IPv4 and IPv6 Policy-based
Click Service List and choose Compute > Elastic Cloud Server. In the ECS list, locate the target ECS and click its name. The Summary tab page of the ECS is displayed.
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 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 access the Internet.
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.
Symptom You have enabled IPv4/IPv6 dual stack for an ECS, but the ECS cannot access websites using IPv6 addresses. Troubleshooting Check whether the IPv4/IPv6 dual stack is correctly configured and whether the dual-stack network interface of the ECS has obtained an IPv6 address.
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.
An EIP cannot be shared by multiple ECSs, and the EIP and ECS must be in the same region. You can use public NAT gateways to enable the ECSs in the VPC to share an EIP to access or be accessed by the Internet. For more information, see the NAT Gateway User Guide.