Perform this task to add a virtual switch for the management network, service network, storage network, migration network, or backup network.
From the navigation pane, select Data Center > Virtualization > Host pool name > Cluster name > Host name.
Click the vSwitches tab.
Click Add.
Configure basic and advanced virtual switch settings as needed, and then click Next.
Configure network settings, and then click OK. If you select multiple physical NICs, click Next to configure link aggregation and load sharing, and then click OK.
Network Type: Select network types for the virtual switch.
Mgmt—Network for transmitting control layer data between Space Console and hosts.
Service—Network for transmitting service data of VMs.
Storage—Network for transmitting data between hosts and IP SAN storage servers or distributed storage. This type of virtual switches cannot be used by VMs.
Backup—Network for transmitting backup data between VMs and remote servers. A host can have only one virtual switch or subnet of this type and the virtual switch cannot be used by VMs.
Migration—Network for transmitting memory and disk image data for VM migration. A host can have only one virtual switch or subnet of this type and the virtual switch cannot be used by VMs.
Other—Network for transmitting data other than previously mentioned.
Forwarding Mode: Select the forwarding mode of the virtual switch.
VEB—Virtual Ethernet Bridge (VEB) mode. In this mode, the virtual switch forwards traffic based on software.
VXLAN (SDN)—Forwarding mode provided by the VXLAN solution based on SDN controllers and cloud computing management platforms.
VLAN ID: Specify a VLAN ID for the local port of the virtual switch. You can use VLAN to isolate host traffic from VM traffic at Layer 2.
MTU: Set the maximum packet length allowed by the virtual switch, in bytes. The MTU of virtual switch vswitch0 cannot be modified.
Enable Multicast: Enable multicast forwarding for the virtual switch. You cannot enable multicast for virtual switch vswitch0.
Enable DPDK: Configure whether to enable DPDK or not. Enabling DPDK can improve the network performance of the VM. ARM hosts do not support DPDK.
Physical Interface: Name of the interface on the physical NIC assigned to the virtual switch. A physical interface can be assigned to only one virtual switch. When all physical interfaces of the host are assigned to virtual switches, this parameter is not configurable. If the virtual switch is not assigned a physical interface, VMs attached to the virtual switch can communicate only with each other but cannot communicate with external networks. If you specify multiple physical interfaces for the virtual switch, you must configure the link aggregation mode and LB mode.
IP: Enter an IP address (address of the host kernel module) for the virtual switch. You must specify this field if you create a virtual switch for the storage network. This field is optional if you create a virtual switch for the service network.
Subnet Mask: Enter the subnet mask of the IP address.
Gateway: Enter an IPv4 gateway for the virtual switch. A host can have only one IPv4 gateway.
LAGG Mode: Set the link aggregation mode of the physical NICs. Options include Static and Dynamic. If dynamic link aggregation mode is used, you must enable LACP on the physical switch. This mode is configurable only when multiple physical interfaces exist.
LB Mode: Set the load balancing mode of physical NICs. This parameter is configurable only when multiple physical interfaces exist.
Advanced—Performs load balancing for packets based on the Ethernet type, IP protocol, source IP address, destination IP address, source port number, and destination port number.
Basic—Performs load balancing for packets based on the source MAC address and VLAN tag.
Active/Standby—Performs load balancing for packets based on the primary and backup roles of physical NICs. If the primary NIC fails, traffic is automatically switched to the backup NIC.
Fallback: Select whether to switch services from the backup NIC back to the primary NIC after the primary NIC recovers from a fault. This parameter is required when the load balancing mode is Active/Standby.
Primary NIC Selection: Select the method used to select the primary NIC. This parameter is required when the load balancing mode is Active/Standby.
Rate-Based—The system automatically selects the primary NIC based on the rates of the NICs. The NIC with the highest rate becomes the primary NIC. When multiple NICs have the same rate, the system randomly selects a NIC as the primary NIC.
Manual—Specify the primary NIC by arranging the LB priorities of the NICs. The NIC with the highest priority is the primary NIC. You must configure the LB priorities for the NICs in this mode.