Creating a virtual LAN

This recipe describes how to create a virtual LAN in pfSense.

Getting ready

A VLAN allows a single physical switch to host multiple Layer-2 networks by separating ports with VLAN tags. A VLAN tag defines a separate virtual network. The pfSense firewall can attach to each VLAN by defining VLAN tags on the firewall interfaces.

How to do it...

  1. Browse to Interfaces | (assign).
  2. Click the VLANs tab.
  3. Click the "plus" button to add a new virtual LAN.
  4. Select a Parent Interface. Refer to the interface assignment page as a reference (shown in the following screenshot). In this case, DMZ is assigned to interface vr2 and we'll select that.
    How to do it...
  5. Specify ...

Get pfSense 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.