Updated on 2024-03-30 GMT+08:00

Assigning a Transit IP Address

Scenarios

After a private NAT gateway is created, assign a transit IP address, so that servers in your VPC can share the transit IP address to communicate with on-premises data centers or other VPCs.

Prerequisites

  • There are transit VPCs available.
  • A Direct Connect connection has been created with the VPC CIDR block set to 0.0.0.0/0. For detailed configurations, see the Direct Connect User Guide.

Procedure

  1. Log in to the management console.
  2. Click Service List in the upper left corner. Under Network, select NAT Gateway.

    The NAT gateway console is displayed.

  3. In the navigation pane on the left, choose NAT Gateway > Private NAT Gateways.
  4. On the Private NAT Gateways page, click Transit IP Addresses.
    Figure 1 Assign Transit IP Address
  5. Configure required parameters. For details, see Table 1.
    Table 1 Parameter descriptions of a transit IP address

    Parameter

    Description

    Transit VPC

    The VPC to which the transit IP address belongs.

    Transit Subnets

    A transit subnet is a transit network and is the subnet to which the transit IP address belongs.

    The subnet must have at least one available IP address.

    Transit IP Address

    The transit IP address can be assigned in either of the following ways:

    Automatic: The system automatically assigns a transit IP address.

    Manual: You need to manually assign a transit IP address.

    IP Address

    This parameter is only available when you set Transit IP Address to Manual.

  6. Click OK.