检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Border Gateway Protocol (BGP) is a routing protocol used between autonomous systems (ASs). BGP is the only protocol that can process many connections between unrelated routing domains.
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 ECSs, NAT gateways, or load balancers. After the EIPs are bound, these instances share the same bandwidth. This section describes how to use shared bandwidths to provide unified public network egresses for ECSs.
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
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.
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.
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.
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.
When you bind a global EIP to an ECS, the system automatically lists the global internet gateway of the VPC that the ECS belongs to, if there is one. For details, see Global Internet Gateway Overview.
EIPs can be bound to or unbound from ECSs, BMSs, virtual IP addresses, load balancers, or NAT gateways. Various billing modes are provided to meet diverse service requirements.
Basic Concepts Dedicated Bandwidth Shared Bandwidth EIP Pool Shared Data Package Global Internet Gateway Global Internet Bandwidth Region and AZ
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 flexibly 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