Adding a Reserved IPv4 Address

Reserve an IPv4 address in a subnet.

    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. Select Add reserved IPv4 address.
    5. In the Add reserved IP address dialog box, enter the following information:
      • Name: Provide a descriptive name for the reserved IP address. It doesn't have to be unique, and it can be changed later in the Console. Avoid entering confidential information.
      • IPv4 IP Address: Provide the IPv4 IP address to be reserved.
        Note

        Ensure that the provided IP address isn't in use and is in the rage from 10.0.0.2 to 10.0.0.254.
      • Hostname: Provide a alphanumeric hostname without any spaces.
      • Tags: Provide tags for the IPv4 address to be reserved. If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
    6. Select Add reserved IP address.

      The new reserved IPv4 address is successfully created and displayed on the page.

  • Use the network private-ip create command and required parameters to create a reserved private IP address:

    oci network private-ip create --lifetime

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

  • Run the CreatePrivateIp operation to create a reserved public IP.