FAQ for Internet Connection

Last updated: 2019-09-24 15:34:49

    1. How do instances without public IP addresses (CVMs, databases) access the Internet?

    They can access the Internet through NAT gateways/public network gateways.

    • NAT gateways. By creating NAT gateways and configuring the routing table associated with relevant subnet, the instances within the subnet can access the Internet. Click to view the operation instructions.
    • Public network gateways. CVMs without public IPs can access the Internet via public network gateways located in different subnets.

    2. What is the difference between public network gateways and CVMs with public IPs?

    A public IP coming with a CVM is equivalent to an additional public network NIC, enabling the CVM to freely access the Internet.

    3. Why cannot a routing policy be forwarded after the policy is configured for a subnet and directed to a public network gateway?

    When the CVM that accesses the Internet through a public network gateway and the public network gateway are in the same subnet, the forwarding function will fail. Please arrange the CVM and the public network gateway in different subnets.

    4. In the routing table, the access to the public network within a subnet is set to be made through NAT gateways, but the CVMs in the subnet are configured with elastic IPs. So whether these CVMs access the public network through NAT gateways or elastic IPs?

    Through the NAT gateways. Click to view routing rule priority.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback