To add an additional network interface to an instance or to remove an interface from your instance perform the steps described below.
The steps below only provide a basic overview. The exact tasks required will vary depending on your network design. Please refer to the Oracle cloud documentation for details. In particular, adding additional VNICs to a Linux system running on a baremetal OCI instance requires additional steps to enable the operating system to recognize the additional interface. See https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm for details.
Contents
When an instance is created, a default Ethernet interface is attached to the system. This is the primary network interface You can create additional network interfaces and attach them to an instance.
Adding a New Network Interface to an Instance
The following steps are required to create a new network interface and to add it to an instance:
Step | Details |
---|---|
Open the list of compute instances and select your instance. | Click on Compute > Instances. Click on the instance name to open the instance details screen. |
Select Attached VNICs in the Resources section on the left. | The screen shows the already attached VNICs. Click on Create VNIC to continue. This will open the VNIC creation window. |
Add the necessary data to configure the VNIC. | In this window, add for example
Once you added all the desired information, click on Create VNIC. |
Verify that the new interface has been attached to the instance. | The instance details section should now show the newly attached VNIC. Example: |
Removing a VNIC from an Instance
To remove a VNIC from an instance, select the instance in the instance list and display the Attached VNICs in the Resources section.
Then click on the three dots next to the VNIC and select Delete.
The primary VNIC cannot be deleted.