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

    Can't get VLAN to work on pfsense

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    4 Posts 3 Posters 197 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.
    • M
      m0hd
      last edited by

      Hello,

      I've been trying to create a VLAN but couldn't get it to work and I though it was from the switch configuration. so I connected a PC directly to a new port and created a VLAN on that port's interface but it still doesn't work (can't connect to it)

      My setup is as the following (using Netgate 4200):

      VLAN
      851379f9-8a15-4f43-a009-102d6f15c7ed-image.png

      Assigned to port
      7f209451-f8ee-426a-804b-dfa1705b0420-image.png

      Enabled interface
      34ef3447-1ecf-4645-b49d-2db515820008-image.png

      Added allow all rule
      dcf9f719-b06c-4e28-bd6e-03692686a045-image.png

      Added NAT rule
      8f42c8df-03a5-43f0-86c7-43099ec21a78-image.png

      What am I not seeing?

      V F 2 Replies Last reply Reply Quote 0
      • V
        viragomann @m0hd
        last edited by

        @m0hd said in Can't get VLAN to work on pfsense:

        so I connected a PC directly to a new port and created a VLAN on that port's interface

        On the PC?

        Added NAT rule

        What does this rule aim regarding the TestVLAN subnet?

        1 Reply Last reply Reply Quote 0
        • F
          ff101 @m0hd
          last edited by ff101

          @m0hd
          I am still a bit inexperienced with VLAN myself, but I had to do something similar myself (6 VLAN networks on two physical connections).

          VLAN and interface settings seem to be normal, I have set them the same for me. Will the VLAN interface be a WAN interface or an internal network?

          If you have a managed switch in between (In my case a Juniper ex2300-24p) you can configure it so that you can access the VLAN network from certain ports.
          If you connect a PC / notebook directly instead, to the port on which you have created the VLAN interface, you have to manually set the VLAN in the network settings of the operating system.
          VLAN.png

          M 1 Reply Last reply Reply Quote 0
          • M
            m0hd @ff101
            last edited by

            @ff101

            Thanks! It's working now which means the issue was in the switch configuration, I'll check that up next.

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