Learn how to manage virtual machine networking by using a distributed switch, migrate virtual machine network adapters to labeled networks on the switch.
Prerequisites
Verify that at least one distributed port group intended for virtual machine networking exists on the distributed switch.
Procedure
- On the vSphere Client Home page, click Networking and navigate to the distributed switch.
- On the Select task page, select Manage host networking and click Next.
- On the Select hosts page, under Member Hosts, select from the hosts that are associated with the distributed switch.
- Click Next.
- On the Manage physical adapters page, you can add or remove network adapters to the distributed switch by assigning or unassigning an uplink.
- Click Next.
Note: If a host does not have an assigned physical network adapter, then a warning appears.
- On the Manage VMkernel adapters page, you can add VMkernel adapters to the distributed switch.
- On the Migrate VM networking page, select the check box Migrate virtual machine networking to migrate virtual machines to a distributed switch.
- To configure per network adapter, click Assign port group.
- To assign a port group, click Assign.
For instance, the port group is assigned to all the virtual machines that have the same network adapter.
- To unassign a port group, click Unassign.
- To configure per virtual machine, click Assign port group.
- To assign a port group, click Assign.
- To unassign a port group, click Unassign.
- Click Next.
- On the Ready to Complete page of the Add and Manage Hosts wizard, review the settings for the virtual machine.
- Click Finish.