> For the complete documentation index, see [llms.txt](https://ad.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ad.4pfsec.com/network-setup/vswitch-and-port-group-configuration.md).

# Vswitch & Port Group Configuration

## Vswitch

To create a port group on VMware ESXI we first need to create a Virtual Switch as shown below.

![](/files/RvunkTS47bojlIVEcPjt)

![](/files/qcv3gpriZewP8yfnIZF1)

## Port Group

Now that we have a virtual switch setup, we can setup the port group to assign our machines to.

![](/files/mzhrC4tz9087VSUTpG7N)

![](/files/3BpA6uYoUoaHdlvaELoG)

## Pfsense Configuration

Now that we have the new port group created, we can add our Pfsense VM into the network to act as the gateway.

![](/files/sapmawtnNByAMNBN5LWr)

![](/files/8rvRlSutpZ8R8gMls5SE)

Now that the machine is connected to the LAN, we will be able to onboard the new LAN onto the FW.

![](/files/xkmFTTzsZp1LEHTahHC0)

Once the Interfaces is added, we have to configure the interface and set the IP range.

![](/files/fcuRwmNxHm3OekYwBUcg)

![](/files/5XLwDadTPOIKiyqDHTGE)

And once all that is done, check back at the terminal to confirm that you're LAN is successfully added as shown below.

![](/files/Txwj1Xjd8VZ7djefCEVu)
