In the VMware Host Client, you can configure various virtual switch settings, such as link discovery, NIC teaming, and traffic shaping.
View Virtual Switch Information in the VMware Host Client
In the VMware Host Client, you can view information about virtual switches, such as configuration, network details, virtual switch topology, and so on.
Procedure
Add a Standard Virtual Switch in the VMware Host Client
In the VMware Host Client, you can add a standard virtual switch to provide network connectivity for the host that you are managing and for the virtual machines on that host, and to handle VMkernel traffic. Depending on the type of connection that you want to create, you can create vSphere standard switch with a VMkernel adapter, connect an existing physical network adapter to the new switch, or create the switch with a virtual machine port group.
Procedure
- Right-click Networking in the VMware Host Client inventory and click Add standard vSwitch in the pop-up menu.
- (Optional) Click Add uplink to add a new physical uplink to a virtual switch.
- Enter a name for the virtual switch and click Create virtual switch.
- Select an uplink for the virtual switch.
- Expand Link discovery and select an option for the virtual switch mode.
Operation Description Listen ESXi detects and displays information about the associated physical switch port, but information about the vSphere Standard Switch is not available to the switch administrator. Advertise ESXi makes information about the vSphere Standard Switch available to the switch administrator, but does not detect and display information about the physical switch. Both ESXi detects and displays information about the associated physical switch and makes information about the vSphere Standard Switch available to the switch administrator. None ESXi does not detect or display information about the associated physical switch port, and information about the vSphere Standard Switch is not available to the switch administrator. - In the Protocol section, select Cisco Discovery Protocol from the drop-down menu.
- Expand Security and accept or reject promiscuous mode, MAC address changes, and forged transmits of the virtual machines attached to the standard switch.
Option Description Promiscuous mode - Reject. The VM network adapter receives only frames that are addressed to the virtual machine.
- Accept.The virtual switch forwards all frames to the virtual machine in compliance with the active VLAN policy for the port to which the VM network adapter is connected.
Note: Promiscuous mode is insecure mode of operation. Firewalls, port scanners, intrusion detection systems, must run in promiscuous mode.MAC address changes - Reject. If the guest OS changes the effective MAC address of the virtual machine to a value that is different from the MAC address of the VM network adapter (set in the .vmx configuration file), the switch drops all inbound frames to the adapter.
If the guest OS changes the effective MAC address of the virtual machine back to the MAC address of the VM network adapter, the virtual machine receives frames again.
- Accept. If the guest OS changes the effective MAC address of the virtual machine to a value that is different from the MAC address of the VM network adapter, the switch allows frames to the new address to pass.
Forged transmits - Reject. The switch drops any outbound frame from a virtual machine adapter with a source MAC address that is different from the one in the .vmx configuration file.
- Accept. The switch does not perform filtering, and permits all outbound frames.
- Click Add.
Remove a Standard Virtual Switch in the VMware Host Client
You can remove the virtual standard switch if you no longer need it.
Procedure
- Click Networking in the VMware Host Client inventory and click the Virtual switches tab.
- Right-click the virtual switch that you want to remove from the list and click Remove.
- Click Yes.
Add a Physical Uplink to a Virtual Switch in the VMware Host Client
You can connect multiple adapters to a single vSphere standard switch to provide NIC teaming. The team can share traffic and provide failover.
Procedure
- Click Networking in the VMware Host Client inventory and click Virtual switches.
- Click a virtual switch from the list and click Add uplink.
- Select a physical NIC from the available options.
- Click Save.
Edit Virtual Switch Settings in the VMware Host Client
In the VMware Host Client, you can edit virtual switch settings, such as the virtual switch uplinks.