Help Center> Virtual Private Cloud> User Guide> Virtual IP Address> Assigning a Virtual IP Address
Updated on 2024-04-22 GMT+08:00

Assigning a Virtual IP Address

Scenarios

If an ECS requires a virtual IP address or if a virtual IP address needs to be reserved, you can assign a virtual IP address from the subnet.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  4. In the navigation pane on the left, choose Virtual Private Cloud > Subnets.
  5. In the subnet list, click the name of the subnet where a virtual IP address is to be assigned.
  6. Click the IP Addresses tab and click Assign Virtual IP Address.
  7. Select a virtual IP address assignment mode.
    • Automatic: The system assigns an IP address automatically.
    • Manual: You can specify an IP address.
  8. Select Manual and enter a virtual IP address.
  9. Click OK.

You can then query the assigned virtual IP address in the IP address list.