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

  1. On the vSphere Client Home page, click Networking and navigate to the distributed switch.
  2. On the Select task page, select Manage host networking and click Next.
  3. On the Select hosts page, under Member Hosts, select from the hosts that are associated with the distributed switch.
  4. Click Next.
  5. On the Manage physical adapters page, you can add or remove network adapters to the distributed switch by assigning or unassigning an uplink.
  6. Click Next.
    Note: If a host does not have an assigned physical network adapter, then a warning appears.
  7. On the Manage VMkernel adapters page, you can add VMkernel adapters to the distributed switch.
  8. On the Migrate VM networking page, select the check box Migrate virtual machine networking to migrate virtual machines to a distributed switch.
  9. To configure per network adapter, click Assign port group.
    1. 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.
    2. To unassign a port group, click Unassign.
  10. To configure per virtual machine, click Assign port group.
    1. To assign a port group, click Assign.
    2. To unassign a port group, click Unassign.
  11. Click Next.
  12. On the Ready to Complete page of the Add and Manage Hosts wizard, review the settings for the virtual machine.
  13. Click Finish.