To manage the networking of your environment by using the vSphere Distributed Switch, you must associate hosts with the switch. Connect the physical NICs, VMkernel adapters, and virtual machine network adapters of the hosts to the distributed switch.
Prerequisites
- Verify that enough uplinks are available on the distributed switch to assign to the physical NICs that you want to connect to the switch.
- Verify that at least one distributed port group is available on the distributed switch.
- Verify that the distributed port group has active uplinks configured in its teaming and failover policy.
Procedure
- In the vSphere Client, select Networking and navigate to the distributed switch.
- From the Actions menu, select Add and Manage Hosts.
- On the Select task page, select Add hosts, and click Next.
- On the Select hosts page, click New hosts, select the hosts in your data center, click OK, and then click Next.
- On the Manage physical adapters page, configure physical NICs on the distributed switch.
- From the On other switches/unclaimed list, select a physical NIC.
If you select physical NICs that are already connected to other switches, they are migrated to the current distributed switch.
- Click Assign uplink.
- Select an uplink.
- To assign the uplink to all the hosts in the cluster, select Apply this uplink assignment to the rest of the hosts.
- Click OK.
For example, assign
Uplink 1
to
vmnic0
and
Uplink 2
to
vmnic1
.
- Click Next.
- On the Manage VMkernel adapters page, configure VMkernel adapters.
- Select a VMkernel adapter and click Assign port group.
- Select a distributed port group.
For example,
DPortGroup.
- To apply the port group to all hosts in the cluster, select Apply this port group assignment to the rest of the hosts.
- Click OK.
- Click Next.
- (Optional) On the Migrate VM networking page, select the Migrate virtual machine networking check box to configure virtual machine networking.
- To connect all network adapters of a virtual machine to a distributed port group, select the virtual machine, or select an individual network adapter to connect only that adapter.
- Click Assign port group.
- Select a distributed port group from the list and click OK.
- Click Next.
What to do next
Deploy and configure NSX Manager. See Deploy and configure NSX Manager.