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

    Building my lan: do I need a managed switch for my VLANs?

    Scheduled Pinned Locked Moved General pfSense Questions
    51 Posts 6 Posters 10.5k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      While used enterprise gear can be had for cheap on ebay.. And hey if your going for come cert or something and want to play with that - that is for sure an option.

      But to be honest - enterprise gear is normally not very friendly on the electric use, and sure they can be freaking LOUD.. For a lab you turn on when playing might be fine. But some good deal you got on some enterprise gear might be reasonable upfront... What is the difference in electric use 3 years down the road while its sucking 150W idle 24/7 vs that small business line only using 20W full juice..

      You might eat up any cost savings in the 1st year, depending on what you pay in electric..

      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.7.2, 24.11

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @johnpoz
        last edited by bingo600

        @johnpoz

        I spend 2 days behind a dual set of C9300's (Nexus), routing fiber conns.
        https://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/datasheet-c78-742283.html

        I LOVED my Boose QC25's

        But compared to a C7500 the 9300 is "quiet"

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

          @bingo600 said in Building my lan: do I need a managed switch for my VLANs?:

          C9300's

          Don't those things have like 1100W power supplie(s).. Prob sound like little jet engines, can work as a space heater while you at it ;)

          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.7.2, 24.11

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @johnpoz
            last edited by bingo600

            @johnpoz said in Building my lan: do I need a managed switch for my VLANs?:

            @bingo600 said in Building my lan: do I need a managed switch for my VLANs?:

            C9300's

            Don't those things have like 1100W power supplie(s).. Prob sound like little jet engines, can work as a space heater while you at it ;)

            The 45xx has 1100W , the 65xx up to 3000W

            The 6509 ie. has a FAN "Blade" just consisting of fans for cooling the horizontal blades. And then the PSU's has FAN's ....

            But i still think my 4 days besides an old 7500 was the worst ... Didn't have any ear protection back in those days.

            b8413dea-6740-4e40-abb8-9b3483f7b29f-image.png

            The 6509-V-E is a strange beast , cards are vertical.

            @johnpoz
            This is a fast little bugger:
            Cisco Nexus 93180YC-EX switch architecture

            The Cisco Nexus 93180YC-EX Switch (Figure 2) is a 1-Rack-Unit (1RU) switch with latency of less than 1 microsecond that supports 3.6 terabits per second (Tbps) of bandwidth and more than 2.6 billion packets per second (bpps).

            The 48 downlink ports on the 93180YC-EX can be configured to work as 1-, 10-, or 25-Gbps ports, offering deployment flexibility and investment protection. The uplink can support up to six 40- and 100-Gbps ports, or a combination of 10-, 25-, 40-, 50-, and 100-Gbps connectivity, offering flexible migration options. All ports are connected to the Cloud Scale LSE ASIC.

            @valepe69
            Sorry for hijacking 😧

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Just in case anyone is interested.

              Cisco SG-350 series data sheet:
              https://www.cisco.com/c/en/us/products/collateral/switches/small-business-smart-switches/data-sheet-c78-737359.pdf

              1 Reply Last reply Reply Quote 0
              • V
                valepe69
                last edited by

                I searched for the specs of the suggested switches and I split them in two families:

                • L3 switches like Cisco SG 350-xx
                • L2+ switches like D-Link DGS 1210-xx

                With L3 switches I could offload to the switch the inter-VLAN traffic, inter-VLAN communication access but with a more complicated handling of the lan (I have to manage two devices for rules, etc).
                With L2+ switches all rounting and firewalling is handled by pfSense so a easier handling but with the risk to saturate the physical link from the switch to the router (but I can aggregate two ports to partially solve it).

                Am I right? And what do you suggest between them?

                Thank you again

                ? bingo600B 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @valepe69
                  last edited by A Former User

                  @valepe69 You always have to coordinate the configuration between pfsense, Switch and AP's. The VLAN assignments on the switch, AP and your interface and VLAN configuration in pfsense must agree. No avoiding multi-point configuration. Doing some inter-VLAN routing on the switch shouldn't complicate things too much.

                  I am impressed by your thoughtful approach to this! I look forward to hearing what the best practice recommendation is from those more experienced than I. Even though my Cisco SG-220 is L2 only I'll note the recommendations for the future.

                  1 Reply Last reply Reply Quote 0
                  • bingo600B
                    bingo600 @valepe69
                    last edited by

                    @valepe69

                    IMHO L2 switches are adequate for most "Normal usage".
                    The L3 switches will offload the "router" , but usually their ACL set is limited and if it is not statefull , you are in for a mess.

                    I'd go for L2 , and if more routing capacity is needed , spend the $$ on a larger router (pfSense).

                    If you have heavy server intercommunication or backup or ... Just put them in the same Vlan .. No router needed.

                    /Bingo

                    If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                      Keep in mind that just because your switch supports L3, doesn't mean you have to use it.. Or you can use both L3 and L2 at the same time.

                      The only thing L3 capable switch gets you is options.. While an L3 switch can route, and L2 can not.. What will you be doing 6 months from now, or a year.. If you get L2 I can tell you for sure you won't be doing any sort of routing on your switch - unless you buy a new one ;)

                      My sg300 is in L3 mode, and capable of routing. I'm just currently doing L2 on it only.. But its there is I want to test something, or wanted to do that.

                      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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • bingo600B
                        bingo600
                        last edited by bingo600

                        What JP said id correct , you would have the possibility to route if you get a L3 switch. And don't need to enable that at the beginning.

                        I'm purely L2 , and everything has to pass my pfSense.
                        I have not missed L3 yet ....

                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                          The reason you would get an L2 over an L3 is cost savings, and no plans of ever routing on it. I have no idea what I might want to do different on my home network, or what to test out..

                          If a more feature rich switch is in your budget - I would say get it.. Like I said you can never have too many features or options..

                          Like buying a car, not getting fully loaded. And then winter comes and gawd daggit, wish my seats were heated ;) Damn it what do you mean have to roll down these windows by hand.. What no SiriusXM? The radio only gets AM? WTF!!! ;)

                          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.7.2, 24.11

                          bingo600B 1 Reply Last reply Reply Quote 0
                          • bingo600B
                            bingo600 @johnpoz
                            last edited by bingo600

                            @johnpoz said in Building my lan: do I need a managed switch for my VLANs?:

                            The reason you would get an L2 over an L3 is cost savings, and no plans of ever routing on it.

                            Totally agree - It was cost & 24/7 power usage , that made me chose the 1210's , i also have a few HP-1820. But like the D-Link's better , featurewise.

                            My home net is so small , that i don't have to think (worry) about segmenting due to # of clients.

                            I purely segment for security reasons , hence i would not want to do any L3 on the switch.

                            But you'll never know ...
                            When you might just wished you had ...

                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                              For example - the unifi switches, all L2.. But the cost is inline with a sg350.. Why would I get that L2 vs a switch that can do L3 and more..

                              The USW-24 is $225 has 26 ports total, and 2 of those you have to use sfp module (extra cost)
                              The sg350-28 is $229 has 28 ports total, and can use up to 4 sfps (combo ports)

                              Why would you not get the L3 capable switch. And 2 more ports for $4 ;)

                              But hey if you can find say a 24 port L2 that does all that you want currently. And is half the cost of 24 port that can do L3.. Then you might want to do that - but to be honest you find prob not all that much difference in cost.

                              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.7.2, 24.11

                              1 Reply Last reply Reply Quote 0
                              • bingo600B
                                bingo600
                                last edited by

                                The 28 (24 plus 4 Dual) port DGS-1210-28 is $138 incl. shipping on Amazon.de

                                https://www.amazon.de/D-Link-DGS-1210-28-1000Mbit-SFP-Slots-l%C3%BCfterlos/dp/B008R7114W/

                                /Bingo

                                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                pfSense+ 23.05.1 (ZFS)

                                QOTOM-Q355G4 Quad Lan.
                                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                                  @bingo600 said in Building my lan: do I need a managed switch for my VLANs?:

                                  DGS-1210-28

                                  That good price... I show it as 193 here

                                  goodprice.png

                                  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.7.2, 24.11

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    valepe69
                                    last edited by

                                    Just bought a DLink DGS-1210-28.
                                    Where can I find some tutorials how to setup it?

                                    Thanks

                                    bingo600B 1 Reply Last reply Reply Quote 0
                                    • bingo600B
                                      bingo600 @valepe69
                                      last edited by

                                      @valepe69 said in Building my lan: do I need a managed switch for my VLANs?:

                                      Just bought a DLink DGS-1210-28.
                                      Where can I find some tutorials how to setup it?

                                      Thanks

                                      Google is your friend here.

                                      The D-Links come with a default ip :
                                      10.90.90.90 , and i think admin/admin for login.

                                      If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                      pfSense+ 23.05.1 (ZFS)

                                      QOTOM-Q355G4 Quad Lan.
                                      CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                      LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                                      V 1 Reply Last reply Reply Quote 0
                                      • V
                                        valepe69 @bingo600
                                        last edited by

                                        @bingo600 ok thanks.
                                        Any tips about what to do and not to do setting up the switch? My LAN is composed by few VLANs.
                                        Router will assign DHCP to the devices in these VLANs and it will allow or deny inter-vlan traffico.
                                        Thanks again

                                        bingo600B JKnottJ 3 Replies Last reply Reply Quote 0
                                        • bingo600B
                                          bingo600 @valepe69
                                          last edited by

                                          @valepe69 said in Building my lan: do I need a managed switch for my VLANs?:

                                          @bingo600 ok thanks.
                                          Any tips about what to do and not to do setting up the switch? My LAN is composed by few VLANs.
                                          Router will assign DHCP to the devices in these VLANs and it will allow or deny inter-vlan traffico.
                                          Thanks again

                                          It might be smart to define the L2 vlans early.
                                          The you can set the switch management ip to belong to a Vlan

                                          During the initial management ip setup - Do NOT save the config , until it works.
                                          That way you can always reboot , and get back to factory defaults.

                                          I seem to remember you can factorydefault the switch , by pressing a thin thing into the little reset hole , and wait for all switchport leds to lihht up yellow.

                                          If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                          pfSense+ 23.05.1 (ZFS)

                                          QOTOM-Q355G4 Quad Lan.
                                          CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                          LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                                            @valepe69

                                            First off, you have to decide what's going on the VLANs and then plan from there. For example, I use a VLAN for guest WiFi and the 2nd SSID connects via a VLAN. In offices, VLANs are often used for VoIP phones, etc..

                                            Then, once you've done that you have to ensure you use the same VLANs throughout, from pfsense to the switches, to whatever devcie, such as AP, etc..

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.