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. Open the navigation menu and click Networking. Under Virtual cloud networks, click the name of the VCN that you want.
    2. Under Resources, click Subnets.

      The subnets in the VCN are listed.

    3. Click the name of the subnet to access the Subnet Details page.
    4. Under Resources, click IPv4 Addresses.

      The IP addresses in the subnet are listed.

    5. For the ephemeral IPv4 address you want to change to reserved IPv4 address, click the Actions menu (Actions Menu), and then select Reserve IP address.
    6. In the confirmation dialog box, click 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.