Adding a Reserved IPv4 Address

Reserve an IPv4 address in a subnet.

    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.
    5. Click Add reserved IPv4 address.
    6. 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.
    7. Click 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.