After a host is added to CVM, all physical NICs on the host are enabled by default. To view information about physical NICs on a host, click the Physical NICs tab of the host.
ARM hosts do not support SR-IOV.
If you add a physical NIC as a PCI device and use it as a passthrough NIC for a VM, the system displays "--" for the Rate, State, MTU, Carrier Wave, and Operating Mode fields, and the Start icon and Suspend icon
are grayed out. You cannot configure LLDP, SR-IOV, or network rate limit for the VM.
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
Configure the parameters as described in "Parameters."
Click OK.
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
Click a NIC, and then click the LLDP tab.
Enable or disable LLDP, and then click Save.
ARM hosts do not support NIC SR-IOV settings. |
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
Select a NIC, and then click the SR-IOV tab.
Enable or disable SR-IOV, and set the number of virtual NICs.
Click Save.
From the left navigation pane, select Resources > host pool name > host name or Resources > host pool name > cluster name > host name.
Click the Physical NICs tab.
Click a NIC, and then click the Network Rate Limit tab.
Enter a rate limit and click Save.
View physical NICs:
NUMA: NUMA node of the physical NIC.
Rate: Physical NIC rate. If the host is a VM simulated through CAS, the system cannot obtain the actual rate of the NIC because the NIC uses a virtio_net driver. In this scenario, this field displays -1.
Device Address: PCI address of the physical NIC. PCI addresses are used to distinguish different PCI devices on the PCI bus. For example, 0000:04:10.5. 0000 represents the PCI address domain, and each PCI address domain can contain 256 PCI buses. 04 represents the bus number. 10 represents the slot number. .5 represents the function number.
Carrier Wave: Whether the cable is connected to a network device. On indicates that the cable is connected to a network device, and Off indicates that the cable is not connected to a network device.
Operating Mode: Operating mode of the physical NIC. Full represents full-duplex. Half represent half-duplex.
Modify driver and MTU settings:
Driver: Select a driver for the physical NIC.
Kernel—Traditional system NIC driver.
VFIO—High-performance userspace driver that supports PCI device pass-through and DPDK. You can select this option only when IOMMU is enabled for the host.
MTU: Set the MTU for the physical NIC. This parameter is available only when the physical NIC uses the kernel drive. If a physical NIC has been used by a virtual switch, you can only modify it on the virtual switch configuration page.
Configure LLDP settings:
Remote Device: LLDP information about the peer device. If the peer device supports LLDP, it sends its information to the physical NIC through packets, and the information is displayed in this area. The information includes the bridge MAC address of the peer device and the lifetime of the local LLDP information on the peer device. Information like the management IP address, system description, and port description might also be displayed, depending on the model and vendor of the device. If the peer device does not support LLDP, this area displays LLDP is not supported on the peer device.
Configure SR-IOV settings:
Enable SR-IOV: Set the state of SR-IOV. SR-IOV virtualizes a single physical NIC into multiple virtual functions (VFs) that each have a dedicated virtual PCIe channel. The virtual PCIe channels share the PCIe channel of the physical NIC. A VM can use one or multiple VFs. It accesses a VF by using its VF driver. SR-IOV increases the throughput of the network as VM access to VFs does not require participation of the hypervisor. You can enable SR-IOV only when the physical NIC supports this feature.
Virtual NICs: Set the number of virtual NICs. If the host BIOS or NIC firmware version is outdated, this parameter might display -1. In this condition, you cannot modify this parameter.
Configure network rate limit:
Limit: Enter the limit on the outbound rate of the physical NIC. Physical NICs enabled with SR-IOV do not support network rate limit.