Create a Network Interface

Network interface (vNIC) connects your instance to a network, enabling it to communicate with other instances. Every instance has a default primary vNIC, and you can also attach additional elastic vNICs.

Procedures

  1. Go to Network Interface > Create Elastic Network Interface.

  2. Select a location where you want to create your vNIC. Please note that you can only attach vNICs to the instances in the same region.

  3. Attach your vNIC to a global VPC and a subnet.

  4. Associate a security group.

  5. Select an IP stack type your vNIC supports. To select a specific IP stack type, the prerequisite is that the associated subnet must already support that type of IP stack.

  6. Set up IPv4 or IPv6 addresses according to your networking plan.

  7. Label your vNIC.

More Actions

Go to Network Interface > Actions to do the following actions.

  • Attach You can attach the elastic vNIC to an instance in the same region.

Note

Ensure your instance is powered on and with QGA enabled.

  • Detach The elastic vNIC can be detached.

Note

  • Primary vNIC cannot be detached.

  • Ensure your instance is powered on and with QGA enabled.

  • Assign Private IPv4 You can assign additional private IPv4 addresses to your vNIC. Remember to configure the private IPv4 addresses on the instance for the changes to take effect.

  • Change vNIC Stack Type If you have an IPv4 vNIC, you can change the stack type to IPv4 & IPv6. You need to restart your instance for the changes to take effect if the vNIC is attached to an instance.

  • Delete Primary vNIC can only be deleted along with the attached instance.

Note

No matter attaching, detaching or deleting the vNIC, remember to complete relevant IP and route configurations after new vNIC attachment.

Last updated