Updated on 2024-08-13 GMT+08:00

Assigning a Transit IP Address

Scenarios

Servers in a VPC all use the same transit IP address to access or provide services accessible from on-premises data centers or other VPCs.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click Service List in the upper left corner. Under Networking, select NAT Gateway.

    The NAT gateway console is displayed.

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

    Parameter

    Description

    Transit VPC

    VPC to which the transit IP address is located

    Transit Subnet

    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.

    Enterprise Project

    The enterprise project to which the transit IP address belongs.

  7. Click OK.