Updating an IPoIB Tenant vNet

You can update the IPoIB tenant vNet details such as the CIDR and IP range.

The following table describes the conditions to update vNet details, such as IP CIDR, IP Range, and Global IP Pool.

IP CIDR IP Range Global IP Pool

No IP addresses reserved in the vNet or assigned to an instance.

Even if all the IP addresses in the range are reserved or in use, you can increase the number of IP addresses in the range.

No IP addresses reserved in the vNet or assigned to an instance.

  1. Log in to the UI and go to the Self Service Portal.
  2. In the Self Service Portal, click the Networks tab.
  3. Select Tenant Networks and choose the subnet that you want to modify.
  4. Click Edit.
    The Update IPoIB Subnet window is displayed.
  5. For vNets created using CIDR, modify the CIDR and IP ranges. For vNets created using global IP pool, modify the number of IP addresses.
  6. To save the changes, click Edit.

Updating an IPoIB Tenant vNet Using the CLI or API

Use the following command to update an IPoIB subnet:

oracle-compute update vnet name [--cidr] [--ipranges] [--gateway] [--description] [--global_ip_num]

If you precede the IP range by +, then the IP range that is specified is added to the current set of IP addresses. If you precede the IP range by -, then the IP range that is specified is deleted from the current set of IP addresses.

For more information, see CLI Reference for Oracle Compute Cloud Service.

To update an IPoIB tenant vNet using the API, use the PUT https://api.oc.example.com/vnet/name method.

For more information, see REST API Reference for Oracle Compute Cloud Service.