A Lingjun Elastic Network Interface (LENI) is a virtual network interface that connects Lingjun GPU-accelerated instances to a virtual private cloud (VPC) for intercommunication with other cloud resources. You can assign one or more secondary private IPs to a LENI to improve node utilization, which is useful when a single network interface requires multiple IP addresses.
If you have newly purchased Lingjun compute resources, all Lingjun instances except those listed below can use the Alibaba Cloud standard Elastic Network Interface (ENI), which provides richer features. In the Lingjun console, click Network Resources > Elastic Network Interfaces to create a standard ENI and attach it to a Lingjun node. To upgrade existing Lingjun compute resources to standard ENIs, contact your account manager.
|
Region |
Zone |
HPNZone |
Instance |
|
Ulanqab |
Zone A |
A1 |
efg2.nvga8n, efg2.nvga1n |
|
Ulanqab |
Zone A |
A2 |
efg2.nvgh8bn |
|
Ulanqab |
Zone B |
B1 |
efg2.nvga1, efg2.nvga4 |
|
Heyuan |
Zone C |
C1 |
efg2.nvga8n, efg2.nvga1n |
|
Singapore |
Zone A |
A1 |
efg2.nvga1n |
Feature Overview
Lingjun Elastic Network Interface (ENI) Properties
A LENI has the following properties:
|
Properties |
Description |
|
Virtual private clouds (VPCs) |
LENIs are supported only on VPC-connected instances. |
|
vSwitch |
The vSwitch in the VPC to which the LENI belongs. A LENI can only be created on a vSwitch in the same zone as the Lingjun node. |
|
Zone |
The zone where the associated Lingjun node resides. |
|
NIC Type |
|
|
Primary private IP address |
Each LENI has a primary private IPv4 address within the address range of its vSwitch. |
|
MAC address |
Each LENI has a unique MAC address. |
|
Secondary private IPv4 address |
You can assign one or more secondary private IPv4 addresses to a LENI. These addresses can be removed and reassigned to other LENIs. |
Features
A LENI provides the basic network connectivity for a Lingjun node. Key features include:
-
Each LENI supports multiple secondary private IP addresses, and each address can be released individually.
-
When a LENI is released, all its secondary private IP addresses are automatically recycled.
-
When a Lingjun node undergoes scale-in or reinstallation, its user-type LENIs are automatically recycled.
Prerequisites
-
A Lingjun node has been purchased. For details, see Purchase a Lingjun Node.
-
A virtual private cloud (VPC) and a vSwitch have been created, and the zone of the vSwitch is the same as that of the Lingjun node. For details, see Create and Manage a Virtual Private Cloud.
Limits
|
Limitation Item |
Limitations |
|
|
Number of each property type per LENI |
Primary private IP address |
Default: 1. |
|
Secondary private IPv4 address |
Maximum quota: 10 by default. If the quota is insufficient, request a quota increase in Quota Center. For more information, see Manage Lingma Quotas. |
|
|
MAC address |
Default: 1. |
|
|
Number of LENIs that can be attached to each Lingjun node |
Minimum: 1. Maximum: determined by the Lingjun node specification. |
|
Create Lingjun Elastic Network Interface
You can only create user-type LENIs. System-type LENIs cannot be created manually.
-
Log on to the Lingjun console.
-
In the left navigation bar, choose Network Resources > Lingjun NICs.
-
On the Lingjun elastic network interface (ENI) tab, click Create Lingjun ENI.
-
On the configuration page, set the following parameters, then click Yes.
Parameter
Description
Zone
The zone of the Lingjun node.
Node ID
The Lingjun node to associate.
VPC
The VPC to associate.
vSwitch
The vSwitch in the same zone as the Lingjun node.
Description
A description to help distinguish different LENIs.
Manage Lingjun Elastic Network Interfaces
View Lingjun Elastic Network Interfaces
-
Log on to the Lingjun console.
-
In the left navigation bar, choose Network Resources > Lingjun NICs.
-
On the Lingjun elastic network interface (ENI) tab, select a filter such as Instance ID, Node ID, IP, Status, or Type from the dropdown list, and enter a keyword to search for LENI instances.
-
Click a LENI instance ID to view its details.
Add Secondary Private IP for Lingjun Elastic Network Interface
-
Log on to the Lingjun console.
-
In the left navigation bar, choose Network Resources > Lingjun NICs.
-
On the Lingjun elastic network interface (ENI) tab, click the target LENI instance ID to go to the instance details page.
-
On the Manage Secondary Private IP Addresses tab, click add to assign a secondary private IP address to the LENI.
-
To specify a secondary private IP address, enter it in the text box and click Yes.
-
To have an IP address automatically assigned, click Yes without entering an address. The status changes to In Progress during assignment. Once complete, the assigned IP address appears and the status changes to active.
-
Delete Lingjun Elastic Network Interface Secondary Private IP
-
Go to the Lingjun Elastic Network Interface (ENI) instance details page. For more information, see Add a secondary private IP to a Lingjun Elastic Network Interface (ENI).
-
On the Manage Secondary Private IP Addresses tab, click Delete in the Actions column for the target secondary private IP.
NoteYou can only manually delete a secondary private IP when its status is active or inactive.
Delete a Lingjun Elastic Network Interface (ENI)
-
Log on to the Lingjun console.
-
In the left navigation bar, choose Network Resources > Lingjun NICs.
-
On the Lingjun elastic network interface (ENI) tab, click Delete in the Actions column for the target instance, and follow the on-screen instructions to delete the LENI.
API Operations
You can also call the following API operations to manage LENIs programmatically:
|
Interface |
Description |
|
CreateElasticNetworkInterface |
Creates a LENI. |
|
DeleteElasticNetworkInterface |
Deletes a LENI. |
|
UpdateElasticNetworkInterface |
Updates a LENI. |
|
ListElasticNetworkInterfaces |
Lists LENIs. |
|
GetElasticNetworkInterface |
Queries LENI details. |
|
AssignLeniPrivateIpAddress |
Assigns secondary private IPs to a LENI. |
|
UnassignLeniPrivateIpAddress |
Unassigns secondary private IPs from a LENI. |
|
UpdateLeniPrivateIpAddress |
Modifies the description of a LENI secondary private IP. |
|
ListLeniPrivateIpAddresses |
Lists the private IPs of LENIs. |
|
GetLeniPrivateIpAddress |
Queries the details of a LENI secondary private IP. |