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

    Maximum number of VLANs

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 2 Posters 13.9k 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.
    • C
      compton03
      last edited by

      hello,

      can you tell me, if I can manage (create, add group in VLAN…) VLANs with PFsense.
      Moreover, what's the maximum number of VLANs that I can set up with PFsense?

      thx

      ps: sorry if I posted this message in the wrong part of the forum.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        4094 different VLANs (2^12=4096, 0x000 and 0xFFF are forbidden) are possible for each interface.
        Although VLAN1 is the default VLAN and should not be used as well.
        –> 4093 usable VLANs per interface.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • C
          compton03
          last edited by

          that's good to me, I only need 18VLANs  ;D

          How can I associate a VLAN with a group? Have I to specify the name of the VLAN to a group?

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            group?
            You create VLANs on an interface under "interfaces" –> "assign" --> "VLAN".
            Everything else you configure on your switch.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • C
              compton03
              last edited by

              a group of users. I want to associate a VLANs to a group of users.

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG
                GruensFroeschli
                last edited by

                You really have to be more verbose on what you want to do.

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                1 Reply Last reply Reply Quote 0
                • C
                  compton03
                  last edited by

                  sorry, my mistake

                  let me explain to you. I have a hub on which a lot of services are provide (SNMP, VLAN, DHCP…) but I want to have a solution to replace it if I have to. On this hub I configured many "communities". A community is a group of users. Each community is in a different VLAN. So 1 community = 1 VLAN

                  Therefore I asked you if i can link a group of users (like my community) with a VLAN

                  I hope, I clarified my problem.

                  1 Reply Last reply Reply Quote 0
                  • GruensFroeschliG
                    GruensFroeschli
                    last edited by

                    The pfSense essentially "sees" each VLAN as an interface.
                    For each interface on the pfSense you can create firewall rules.
                    You have to configure "group-associations" (aka the PVID and VLAN membership) on the switch.
                    It really depends on what switch you are using.

                    Here is posted some screenshots to configure a FS726T.
                    http://forum.pfsense.org/index.php/topic,14918.0.html

                    We do what we must, because we can.

                    Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                    1 Reply Last reply Reply Quote 0
                    • C
                      compton03
                      last edited by

                      ok,

                      I better understand how PFsense manges VLAN. It's very not similar compared with our architecture.

                      thank you for your answers, I appreciate that.

                      1 Reply Last reply Reply Quote 0
                      • C
                        compton03
                        last edited by

                        I understood the association between VLANs and interfaces

                        but in our configuration we've got a multi-services controller (WLAN switch "colubris") which associates VLAN with community ( SSID, VLAN, RADIUS' attributes, DCHP relay, gateway)

                        Does PFsense manage this kind of "community"?

                        if you want to, I can send you a screenshot concerning a configuration of a community

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