检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Global Internet Gateways Global Internet Gateway Overview Creating a Global Internet Gateway Binding a Global Internet Gateway to a Global EIP Unbinding a Global Internet Gateway from a Global EIP Managing a Global Internet Gateway Parent Topic: Global Elastic IP User Guide
To enable an ECS to communicate with the Internet through a global EIP, you also need to bind a global internet gateway to the global EIP.
Troubleshooting Go to the global internet gateway list page. In the global internet gateway list, click the name of the subnet where the target global internet gateway is located. The subnet details page is displayed.
To enable an ECS to communicate with the Internet through a global EIP, you also need to bind a global internet gateway to the global EIP.
Select the global internet gateway to be bound. The system automatically lists the global internet gateway of the VPC that the instance belongs to, if there is one. Click Next. Configure Global Connection Bandwidth, Bandwidth Name, and Bandwidth as prompted.
In the Gateway and DNS Information area, view the gateway address of the subnet. Figure 2 Viewing the gateway address of the subnet Step 3: Configure Policy-based Routes for the Extended Network Interface ECS Remotely log in to the ECS.
Failed to complete the request because the server has received an invalid response. 503 Service Unavailable Failed to complete the request because the service is unavailable. 504 Gateway Timeout A gateway timeout error occurred.
Step 2: Create a Global Internet Gateway Create a global internet gateway with Default Route set to Enable in the VPC of the ECS.
Advanced Settings (Optional) > Gateway 192.168.0.1 The gateway address of the subnet. You are advised to retain the default address. The gateway address cannot be changed after the subnet is created.
Basic Concepts Dedicated Bandwidth Shared Bandwidth EIP Pool Shared Data Package Global Internet Gateway Global Internet Bandwidth Region and AZ
EIPs can be bound to or unbound from ECSs, BMSs virtual IP addresses, NAT gateways, or load balancers. Various billing modes are provided to meet diverse service requirements.
To enable an ECS to communicate with the Internet through a global EIP, you also need to bind a global internet gateway to the global EIP.
You can bind EIPs to resources such as ECSs, NAT gateways, and load balancers so that these resources can use the shared bandwidth. For more information, see Shared Bandwidth Overview.
Advanced Settings (Optional) > Gateway 192.168.0.1 The gateway address of the subnet. You are advised to retain the default address. The gateway address cannot be changed after the subnet is created.
Values: vpc: VPC subnet: Subnet securityGroup: Security group securityGroupRule: Security group rule publicIp: EIP vpn: VPN vpngw: VPN gateway vpcPeer: VPC peering connection loadbalancer: Load balancer listener: Load balancer listener physicalConnect: Direct Connect connection virtualInterface
EIPs can be bound to or unbound from ECSs, BMSs, virtual IP addresses, NAT gateways, or load balancers. Various billing modes are provided to meet diversified service requirements. URI POST /v1/{project_id}/publicips Table 1 describes the parameters.
Item Description Example Value VPC CIDR block Required for gateway configuration Example: 10.0.0.0/16 N/A VPC ID N/A Example: 120b71c7-94ac-45b8-8ed6-30aafc8fbdba N/A CIDR block of subnet 1 (can be the same as the VPC CIDR block) N/A Example: 10.0.1.0/24 N/A ECS ID N/A N/A N/A ECS
Log in to the ECS and run the following command to check whether the default route is available: ip route Figure 8 Default route If the route is unavailable, run the following command to add it: ip route add default via XXXX dev eth0 In the preceding command, XXXX specifies a gateway