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.
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.