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

    Pfsense with vlans directly to AP?

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 8 Posters 1.7k 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.
    • S
      SteveITS Galactic Empire @JKnott
      last edited by

      @jknott said in Pfsense with vlans directly to AP?:

      All the managed switch does now is keep the VLAN off the other switch ports. With an unmanaged switch, the VLAN will be available on all ports, but will generally be ignored by devices not configured to use it.

      Just to piggyback this a bit, if it is the AP/SSID forcing the device onto the VLAN, that device can't get off the VLAN. As opposed to, a wired device (or any device already on a network with an unmanaged switch) can be manually configured to use VLAN 20 or whatever and put itself onto the VLAN.

      And, for anyone else finding this, if you find out there is actually a managed switch in the path, in the upstairs closet, that switch will drop the VLAN packets unless it is configured for said VLAN. (um, hypothetically?)

      https://docs.netgate.com/pfsense/en/latest/vlan/configuration.html

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @SteveITS
        last edited by

        @steveits said in Pfsense with vlans directly to AP?:

        Just to piggyback this a bit, if it is the AP/SSID forcing the device onto the VLAN, that device can't get off the VLAN. As opposed to, a wired device (or any device already on a network with an unmanaged switch) can be manually configured to use VLAN 20 or whatever and put itself onto the VLAN.

        ????

        What do you mean by that? PfSense is a router, which can easily route between VLANs. I would assume if you have a managed switch, you'd know enough to configure it or at least ask for help.

        I have an access point that supports multiple SSIDs and VLANs. I configured the AP, pfSense and the switch to use the VLAN for my guest WiFi, but originally I didn't have a managed switch.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        S 1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @JKnott
          last edited by

          @jknott Sorry, didn't mean to confuse things. Just trying to discuss separation of VLANs without a managed switch, as @yeleek has. In general.

          If an office doesn't have a managed switch, and uses VLANs, I can plug in a PC and tell it to be on any given VLAN number. That's not involving the router at all.

          If it is a wireless SSID that is a VLAN (e.g. a guest SSID) then although a wired PC can get onto that VLAN, those wireless devices can't get off the VLAN because it is the AP that is tagging the packets.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @SteveITS
            last edited by johnpoz

            @steveits said in Pfsense with vlans directly to AP?:

            , I can plug in a PC and tell it to be on any given VLAN number. That's not involving the router at all.

            That is a horrible setup.. You can run tags over a dumb switch ok sure - but the switch doesn't understand them, so any broadcast, multicast is going everywhere.. Be it the devices are tagging their own traffic or not.

            You don't have to have a 1k cisco full managed enterprise switch to run an office ;) You can pick up a smart 24 port switch for like 200$ or less - why would an office go through all that nonsense of having to configure every machine to tag their own traffic vs buying a capable switch or switches?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @johnpoz
              last edited by

              @johnpoz I didn't say it was ideal :)

              Nor was I suggesting manually configuring each PC actually, the context here was having the AP do it.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @SteveITS
                last edited by

                @steveits said in Pfsense with vlans directly to AP?:

                I didn't say it was ideal :)

                hahaha - very true, but yeah I could see some ma and pa shop with exactly that setup..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                JKnottJ 1 Reply Last reply Reply Quote 0
                • Bob.DigB
                  Bob.Dig LAYER 8
                  last edited by Bob.Dig

                  My old and beloved Asus Router is doing it here and still going strong...

                  Screenshot 2022-09-22 212344.png
                  😗

                  1 Reply Last reply Reply Quote 0
                  • JKnottJ
                    JKnott @johnpoz
                    last edited by

                    @johnpoz

                    Or a home user. However, with the low cost of managed switches these days, why not get one? A few years ago, that wasn't the case. I remember, about 25 years ago, buying an 8 port, 10 Mb hub that was a more expensive than an 8 port, managed, Gb switch today.

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

                    johnpozJ 1 Reply Last reply Reply Quote 1
                    • Y
                      yeleek @yeleek
                      last edited by

                      Thank you all

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @JKnott
                        last edited by

                        @jknott honestly I have no idea why anyone would buy a dumb switch these days. You can for sure get a "smart" switch that can do vlans and many other things users don't normally think about for a few dollars at most more..Shoot there are for sure "smart" switches that are cheaper than some dumb switches with the same port density.

                        While vlans the prob the most likely feature users want. For those few extra dollars you also normally get rate limiting, can set the speed on a interface if for example you don't want gig be 100.. Or easy check what speed an interface come up as. You can view the mac address table and know exactly what device is plugged into what port by mac address.

                        You can mirror a port for say sniffing, you can see for example errors on an interface. IGMP snooping,

                        Sure different switches at different price points will have different feature sets.. But quite often a so called "smart" switch in a 8 port gig model might be 40$ vs 35$ etc..

                        And while you might say to yourself oh I don't need those features today, save yourself a few bucks. What about 6 months from now? I just can not see why anyone that has made the step up from your typical soho wifi router to pfsense would ever buy a dumb switch.. Even if you don't have any use for any of the features today.. More than likely at some point in the near future your going to say, oh damn wish my switch could do that - should of spent the extra few bucks vs now having to get a whole new switch because I want to do xyz.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        JKnottJ B 2 Replies Last reply Reply Quote 0
                        • JKnottJ
                          JKnott @johnpoz
                          last edited by

                          @johnpoz

                          Sometimes I have to wonder about your reading comprehension. Did you not see where I said "However, with the low cost of managed switches these days, why not get one?"

                          PfSense running on Qotom mini PC
                          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                          UniFi AC-Lite access point

                          I haven't lost my mind. It's around here...somewhere...

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Pretty sure he was agreeing with you. 😉

                            JKnottJ 1 Reply Last reply Reply Quote 1
                            • JKnottJ
                              JKnott @stephenw10
                              last edited by JKnott

                              @stephenw10

                              @johnpoz and I sometimes have a bit of fun with each other. 😉

                              PfSense running on Qotom mini PC
                              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                              UniFi AC-Lite access point

                              I haven't lost my mind. It's around here...somewhere...

                              1 Reply Last reply Reply Quote 1
                              • B
                                BrucexLing @johnpoz
                                last edited by

                                @johnpoz

                                ... You can for sure get a "smart" switch that can do vlans and many other things >

                                I am aware that you hesitate to recommend the TPLink “easy smart” line of switches, and that’s probably understating your negativity somewhat. I am using the 24 and 8 port versions in a basic home setting but I don’t really understand why these switches fall short in your estimation. Could I please ask where you consider these “easy smart” switches fall short?

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Some of the older 'easy smart' switches failed to handle VLANs correctly. You could not remove ports from VLAN1 meaning broadcasts leaked between VLANs. I have one of those.

                                  I also have a newer, much more expensive, TP-Link switch and it works great, no complaints.

                                  I'm not aware of any particular issues with their current low end switches either.

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