Reserving an existing IPv4 Address

Update an existing ephemeral IP address to a reserved IP address.

Note

Secondary IP addresses and already assigned private IP addresses can't be reserved.
    1. On the VCN list page, select the VCN that contains the subnet you want to work with. This takes you to the VCN's details page.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • Select the Subnets tab, then select the name of the subnet you want to work with.
      • Scroll down to the table following the VCN details, which lists the subnets in the VCN. Select the name of the subnet you want to work with.
    3. Depending on the option that you see:
      • Select the IP adminstration tab.
      • Under Resources, select IPv4 Addresses.
    4. For the ephemeral IPv4 address you want to change to reserved IPv4 address, select the Actions menu Actions Menu, and then select Reserve IP address.
    5. In the confirmation dialog box, select Reserve IPv4 address.
      The IPv4 address is successfully reserved and displayed on the page.
  • Use the private-ip update command and required parameters to reserve the private IP address:

    oci network private-ip update --private-ip-id IP_address_OCID
    --hostname-label new_hostname_label ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdatePrivateIp operation to reserve a private IP address.