This topic provides answers to some frequently asked questions about IPv4 gateways.

Can I use IPv4 gateways across regions?

No, you cannot use IPv4 gateways across regions.

How many IPv4 gateways can I create in a virtual private cloud (VPC)?

You can create only one IPv4 gateway in a VPC. In addition, you can associate only one IPv4 gateway with a VPC.

Can I use an inactive IPv4 gateway?

No, you cannot use an inactive IPv4 gateway. Only activated IPv4 gateways support Internet access.

What is the correlation between an IPv4 gateway and a route table?

  • You cannot associate a system route table with an IPv4 gateway.
  • You cannot associate a route table that is already associated with a vSwitch with an IPv4 gateway.
  • You can associate only one gateway route table with an IPv4 gateway.

Can I configure custom routes in a gateway route table?

No, you cannot configure custom routes in a gateway route table. However, you can modify the next hop type of a route in a gateway route table.

Supported next hop types: Local, ENI, and ECS Instance. Take note of the following limit when you modify the next hop: If the next hop type is set to ENI and you want to change the next hop type to ECS Instance, you must first change the next hop type to Local, and then change the next hop type to ECS Instance. Then, you can select an ECS instance as the next hop. This rule also applies to the scenario where you want to change the next hop type from ECS Instance to ENI. You cannot directly change the next hop type from ECS Instance to ENI or from ENI to ECS Instance.