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

    10G NAS directly to pfSense or switch?

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 5 Posters 1.2k 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.
    • R
      runevn
      last edited by

      Hi

      I have a 10G pfsense box, switch and NAS. My NAS (TrueNAS) is on its own VLAN managed by pfSense.

      My question is should I connect my NAS directly to one of the two 10G ports on my pfSense box? Or should I just connect it to my switch that would be connected to pfsense via 2x 10G (aggregated)?

      Untitled Diagram.drawio.png

      Any comments and feedback on pros and cons of both solutions would be highly appreciated.

      NogBadTheBadN DaddyGoD 2 Replies Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad @runevn
        last edited by

        @runevn Why route your NAS traffic through pfSense?

        Put it on the Switch so traffic doesn't need to go through your router.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        R 1 Reply Last reply Reply Quote 1
        • R
          runevn @NogBadTheBad
          last edited by

          @nogbadthebad Good question. My initial thought was to have the ability to put the VLAN behind the pfSense firewall so that I could manage access from my other VLANs and to specific ports.

          My switch is a Ubiquitous EdgeSwitch 16 XG. I'm not sure if it will manage inter-vlan routing to and from specific VLANs.

          But is this the "right"/best way to do it?

          NogBadTheBadN 1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad @runevn
            last edited by

            @runevn Looks like the switch supports VLANS:-

            https://dl.ui.com/datasheets/edgemax/EdgeSwitch_ES-16-XG_DS.pdf

            You'd create the layer 3 interfaces & VLANS on your pfSense LAN interface and then trunk.

            My comment "Put it on the Switch so traffic doesn't need to go through your router" was based on your LAN and NAS being on different networks.

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

              Mmm, going through the switch is a more flexible setup IMO. If you have a client that needs unrestricted access for example you can just change the VLAN it's on at the switch and that traffic is then direct without needing to go through pfSense.

              Steve

              R 1 Reply Last reply Reply Quote 1
              • DaddyGoD
                DaddyGo @runevn
                last edited by DaddyGo

                @runevn said in 10G NAS directly to pfSense or switch?:

                Any comments and feedback on pros and cons of both solutions would be highly appreciated.

                Hi,

                In the second case (fig.), pfS is just holding back the TrueNAS, which is why the more serious network topologies use independent storage switching networks...

                in case you are feeding the NAS 10Gig anyway, from the fast switching chips you can get the performance you need, NIC PHY(s) cannot compete at this point...

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

                R 1 Reply Last reply Reply Quote 1
                • R
                  runevn @stephenw10
                  last edited by

                  @stephenw10 Thanks.

                  1 Reply Last reply Reply Quote 0
                  • R
                    runevn @DaddyGo
                    last edited by

                    @daddygo Thanks for your reply. I will try setting up inter-vlan-routing.

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

                      Hello together,

                      I would say it all depends on what switch is here in usage!
                      If it is Layer 2 (only) and you work with VLANs someone
                      (pfSense) must route between the VLANs, it is like it is.

                      If this will be a Small Layer3 Switch it can be route the entire VLAN traffic alone. So if this will be able connect the NAS to the Switch and the Switch to the pfSense or
                      get perhaps your hands on a "small" Layer3 Switch like
                      Cisco SG350 Series.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        runevn @A Former User
                        last edited by

                        @dobby_ Thanks for your reply. I have been looking into it and I think that my current switch can do basic inter vlan routing so I think I will try that. But thanks for your reply.

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