Learn how to add or modify a virtual machine port group to set up traffic management on a set of virtual machines.
The Add Networking wizard in the vSphere Client guides you through the process to create a virtual network to which virtual machines can connect, including creating a vSphere Standard Switch and configuring settings for a network label.
When you set up virtual machine networks, consider whether you want to migrate the virtual machines in the network between hosts. If so, ensure that the same broadcast domain is accessible by both hosts—that is, the same Layer 2 subnet.
ESXi does not support virtual machine migration between hosts in different broadcast domains because the migrated virtual machine might require systems and resources that it would no longer have access to in the new network. Even if your network configuration is set up as a high-availability environment or includes intelligent switches that can resolve the virtual machine’s needs across different networks, you might experience lag times as the Address Resolution Protocol (ARP) table updates and resumes network traffic for the virtual machines.
Virtual machines reach physical networks through uplink adapters. A vSphere Standard Switch can transfer data to external networks only when one or more network adapters are attached to it. When two or more adapters are attached to a single standard switch, they are transparently teamed.
Add a Virtual Machine Port Group
Learn how to add VM port groups on a vSphere Standard Switch to provide connectivity and common network configuration for virtual machines.
Procedure
Edit a Standard Switch Port Group
Learn how to edit the name and VLAN ID of a standard switch port group, and override networking policies at the port group level.
Procedure
Remove a Port Group from a vSphere Standard Switch
Learn how to remove port groups from vSphere Standard Switches in case you no longer need the associated labeled networks.
Prerequisites
Verify that there are no powered-on virtual machines connected to the port group that you want to remove.
Procedure
- In the vSphere Client, navigate to the host.
- On the Configure tab, expand Networking and select Virtual Switches.
- Select the standard switch.
- From the topology diagram of the switch, select the port group that you want to remove by clicking its label.
- From the toolbar in the switch topology, click the Remove action icon .