检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Private IP address of the ECS in CN East-Shanghai1: 172.16.36.220 Buy an EIP and configure a NAT gateway. In CN-Hong Kong, buy an EIP and a public NAT gateway, and add a DNAT rule. Select Direct Connect/Cloud Connect when you add the DNAT rule.
Buy an EIP (EIP-Test) in the CN-Hong Kong region, buy a public NAT gateway (NAT-Test), and add an SNAT rule for each of the following CIDR blocks: For details, see Assigning an EIP and Binding It to an ECS and Adding an SNAT Rule.
Adding a Global DC Gateway to a Central Network Function This API is used to add a global DC gateway to a central network as an attachment. Debugging You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
If a NAT gateway has been created for any VPC you have loaded to a cloud connection, a custom CIDR block needs to be added and set to 0.0.0.0/0. Resource Planning The following table describes the resource planning in the best practice.
Querying a Global DC Gateway on a Central Network Function This API is used to query the details about a global DC gateway on the central network.
Updating a Global DC Gateway on a Central Network Function This API is used to update a global DC gateway on a central network. Debugging You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
- NAT Gateway NAT Gateway enables servers in on-premises data centers or VPCs connected by a cloud connection to access the Internet or provide Internet-accessible services.
Buy two EIPs and configure a NAT gateway. Buy an EIP in CN East-Shanghai1 and bind the EIP to Eth 0 (172.16.100.100). For details, see Assigning an EIP and Binding It to an ECS. In AP-Singapore, buy an EIP and a public NAT gateway, and add a DNAT rule.
If you load a virtual gateway to a cloud connection, routes are delivered for the local and remote subnets automatically. If you need a special route, you can add a custom CIDR block when loading the network instance.
Removing a Virtual Gateway Scenarios If an on-premises data center does not need to communicate with a VPC in another region, you can remove the virtual gateway associated with the VPC. Procedure Go to the Cloud Connections page.
If a NAT gateway has been created for any VPC you have loaded to a cloud connection, a custom CIDR block needs to be added and set to 0.0.0.0/0. Multiple bandwidth packages can be bound to a cloud connection only when their billing modes are different.
Modifying the VPC CIDR Block Scenarios If you use a cloud connection together with another cloud service, such as NAT Gateway, Direct Connect, or VPN, you need to add the CIDR block of the cloud service to the cloud connection, so that the VPCs you load to the cloud connection can
Error Codes If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in API Gateway Error Codes. Status Code Error Code Error Message Description Handling Measure 400 CC.1001 The parameter is invalid.
Central Network Attachments Adding a Global DC Gateway to a Central Network Querying the List of Global DC Gateways on a Central Network Querying a Global DC Gateway on a Central Network Updating a Global DC Gateway on a Central Network Adding a Route Table of an Enterprise Router
Global DC Gateway Select the global DC gateway that will be attached to the selected enterprise router, so that they can communicate with each other and the on-premises data center can communicate with the cloud network.
Modifying the Virtual Gateway CIDR Block You can modify the local and remote subnets configured for a virtual gateway that has been loaded to a cloud connection.
Loading 100.64.0.0/10 to a cloud connection may cause services such as OBS, DNS, and API Gateway to become unavailable. Parent topic: Network Instances
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.
NAT gateway Traffic intended for the destination is forwarded to a NAT gateway. VPC peering connection Traffic intended for the destination is forwarded to a VPC peering connection.
If a NAT gateway has been created for any VPC you have loaded to a cloud connection, a custom CIDR block needs to be added and set to 0.0.0.0/0. Multiple bandwidth packages with different billing modes can be bound to a cloud connection.