Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VLANs with pfSense and Unifi gear

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    1 Posts 1 Posters 188 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alan.t
      last edited by

      Hello,

      A question about Unifi’s handling of the native/default VLAN...
      I have a pfSense firewall/gateway (call it “pfSense”), a hardware Cloudkey and several Unifi switches and wireless Access Points.
      On pfSense there is a LAN subnet (call it x.x.8.0) which is not associated with any VLAN. On pfSense there are several VLANs defined (say 10 & 20) with corresponding subnets defined. The Unifi equipment has “VLAN only” networks 10 & 20 defined.
      Unifi has a pre-defined “Corporate” network 192.168.1.0/24 which I completely ignore.

      1. The native VLAN is 1 in Unifi gear and cannot be changed (?) Is it therefore correct that my LAN subnet (8) will end up on VLAN 1 because it is not associated with any other VLAN ? Is it more secure to define another VLAN (call it 8) and associate this with the LAN 8 subnet in order to prevent this fallback to VLAN 1 ? i.e. ensure every subnet is associated with a some VLAN that is not 1.

      BRgds/Alan

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.