Virtual machine port groups provide networking for virtual machines.
- Select the host in the inventory pane.
- On the host Configuration tab, click Networking.
- Select the vSphere Standard Switch view.
Standard switches appear in an overview that includes a detailed layout.
- On the right side of the page, click Add Networking.
- Accept the default connection type, Virtual Machines, and click Next.
- Select Create a vSphere standard switch or one of the listed existing standard switches and the associated physical adapters to use for this port group.
You can create a standard switch with or without Ethernet adapters.
If you create a standard switch without physical network adapters, all traffic on that switch is confined to that switch. No other hosts on the physical network or virtual machines on other standard switches can send or receive traffic over this standard switch. You might create a standard switch without physical network adapters if you want a group of virtual machines to be able to communicate with each other, but not with other hosts or with virtual machines outside the group.
- Click Next.
- In the Port Group Properties group, enter a network label that identifies the port group that you are creating.
Use network labels to identify migration-compatible connections common to two or more hosts.
- (Optional) If you are using a VLAN, for VLAN ID, enter a number between 1 and 4094.
If you enter 0 or leave the option blank, the port group detects only untagged (non-VLAN) traffic. If you enter 4095, the port group can detect traffic on any VLAN while leaving the VLAN tags intact.
- Click Next.
- After you determine that the switch is configured correctly, click Finish.