# Vswitch & Port Group Configuration

## Vswitch

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FNASE4kZG3SgQCWJ0nXQD%2Fimage.png?alt=media\&token=e1cdba89-327a-4809-873b-335776e58931)

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FH8G5GuDgyGch5FooCBkx%2Fimage.png?alt=media\&token=7c8a4297-4259-4d39-84ca-868a25137dd6)

## Port Group

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2F8jjeIFtF4G8k04heWYpJ%2Fimage.png?alt=media\&token=d4e53697-f4f5-4bee-91be-4736be9f63b7)

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FT5mzfKGNrQJ1L4Njy7WS%2Fimage.png?alt=media\&token=c4ff9b5e-a684-4b0a-be9e-ede82d64a809)

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FxfyioNbmdVWt1HEKptfI%2Fimage.png?alt=media\&token=5433d7f0-a243-473a-ad19-958a1d723406)

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FNTD20O9KItGAg4Li3Wvx%2Fimage.png?alt=media\&token=f657f058-4800-431a-be36-6dbd18a60ab6)

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FVq3yUNIw9OYr1HvaQTz6%2Fimage.png?alt=media\&token=5c392ab4-ff67-402d-ad2b-62e51481a242)

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FCOeHZiNckqpOJjTnUmTm%2Fimage.png?alt=media\&token=16c543dd-501b-4555-9550-82c654693bc0)

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FHzzdDIylRZReuimV5qxH%2Fimage.png?alt=media\&token=d3d24647-f81d-4b90-949d-72ec0355bc6c)

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

![](https://1937192737-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObuEPM0wMmlYGGoxYCbD%2Fuploads%2FPrOk9OzaQ5L9YZWTPAbj%2Fimage.png?alt=media\&token=d7ca491b-b5df-4571-9ced-b1f50b35fe24)
