Creating an IPoIB Tenant vNet

A network subnet contains a range of IP addresses that can be used for an instance.

To create IPoIB subnets, specify the IP subnet details or the IP subnet is automatically derived from the global IP pool.

  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 click Create.
  4. Enter a name for the subnet.
  5. For Creation Mode, select CIDR/IP Range or Global IP.
    1. If CIDR/IP Range is selected, then enter the CIDR for the IP address. Click Add in the IP Ranges section and enter the IP range.
    2. If the IP subnet is derived from the global IP pool, then enter the number of IP addresses that are required from the IP pool.
  6. (Optional) Enter a description for the IPoIB subnet.
  7. To create the IPoIB subnet, click Create.
The IPoIB tenant vNet is created with the required number of IP addresses.

Creating an IPoIB Tenant vNet Using the CLI or API

Before you create a vNet, you must create the virtual Ethernet (vEthernet) to be used by vNet. Use the following command to create a vethernet:

oracle-compute add vethernet name description type

Use the following command to create an IPoIB vNet:

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

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

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

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