Virtual machine port groups provide networking for virtual machines.

1

Log in to the ESXi host using the vSphere Client and select the host in the inventory pane.

2

On the host Configuration tab, click Networking.

3

Select the vSphere Standard Switch view.

Standard switches appear in an overview that includes a detailed layout.

4

On the right side of the page, click Add Networking.

5

Accept the default connection type, Virtual Machine, and click Next.

6

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.

7

Click Next.

8

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.

9

(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.

10

Click Next.

11

After you determine that the switch is configured correctly, click Finish.