Virtual machine port groups provide networking for virtual machines.

1

Log in to the vSphere Client and select the host from the inventory panel.

2

Click the Configuration tab and click Networking.

3

Select the Virtual Switch view.

vSwitches appear in an overview that includes a details layout.

4

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

5

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

6

Select Create a virtual switch or one of the listed existing vSwitches and the associated physical adapters to use for this port group.

You can create a new vSwitch with or without Ethernet adapters.

If you create a vSwitch without physical network adapters, all traffic on that vSwitch is confined to that vSwitch. No other hosts on the physical network or virtual machines on other vSwitches can send or receive traffic over this vSwitch. You might create a vSwitch 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.

Note

The network label can contain up to 63 characters.

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 are not using a VLAN, leave this blank.

If you enter 0 or leave the option blank, the port group can see only untagged (non-VLAN) traffic. If you enter 4095, the port group can see traffic on any VLAN while leaving the VLAN tags intact.

10

Click Next.

11

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