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

    How to create a switch with 4 ports, including LAGG

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    12 Posts 4 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.
    • NogBadTheBadN
      NogBadTheBad @mol
      last edited by NogBadTheBad

      @mol You'd be better off creating a LAGG with two of the ports and buying a switch that does VLANS and LAGGS.

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

      Your parent interface would be the LAGG rather than the igb0 LAN interface in my screenshot.

      Screenshot 2022-05-30 at 13.05.21.png

      Andy

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

      M 1 Reply Last reply Reply Quote 0
      • M
        mol @NogBadTheBad
        last edited by

        @nogbadthebad The 2.5gbit managed switch costs more than I paid for a 6x2.5gbit router with 4gbit ram and i3 8140.
        I would like to connect my computer and NAS to the router and the other two ports via LAGG to the current switch.

        NogBadTheBadN V 2 Replies Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad @mol
          last edited by NogBadTheBad

          @mol You can't have 4 ports bridged and two of then in a LAGG.

          What speed are the PC & NAS ports?

          Andy

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

          M 1 Reply Last reply Reply Quote 0
          • V
            viragomann @mol
            last edited by

            @mol said in How to create a switch with 4 ports, including LAGG:

            I would like to connect my computer and NAS to the router and the other two ports via LAGG to the current switch.

            To realize this, you have to create a LAGG and add two ports to it, which are connected to the switch (the switch must support LAGG as well). Then assign an interface to the LAGG on pfSense, create a bridge and add the LAGG interface and the other two interfaces for the computer and NAS to it.

            However, I don't recommend the bridge, as long as you don't really need all the devices to be in an L2 network.
            What's about creating separated LANs for the computer and the NAS?

            M 1 Reply Last reply Reply Quote 0
            • M
              mol @NogBadTheBad
              last edited by

              @nogbadthebad said in How to create a switch with 4 ports, including LAGG:

              What speed are the PC & NAS ports?

              PC - i225 - 2,5gbit,
              NAS - QNAP - 2x 2,5gbit

              1 Reply Last reply Reply Quote 1
              • M
                mol @viragomann
                last edited by

                @viragomann said in How to create a switch with 4 ports, including LAGG:

                To realize this, you have to create a LAGG and add two ports to it, which are connected to the switch (the switch must support LAGG as well). Then assign an interface to the LAGG on pfSense, create a bridge and add the LAGG interface and the other two interfaces for the computer and NAS to it.

                I did so but I couldn't connect to the PC via LAGG to another PC.
                Both PCs connected to the Internet without any problems.
                What could I have misconfigured?

                chpalmerC V 3 Replies Last reply Reply Quote 0
                • chpalmerC
                  chpalmer @mol
                  last edited by

                  @mol What model is this just out of curiosity? I need something with 2.5 ports myself.

                  Triggering snowflakes one by one..
                  Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                  M 1 Reply Last reply Reply Quote 0
                  • V
                    viragomann @mol
                    last edited by

                    @mol
                    Other than if both devices are connected to a single interface, you have to add rules to the bridged interfaces to allow the desired access. Maybe allow any to any if you want.

                    1 Reply Last reply Reply Quote 0
                    • chpalmerC
                      chpalmer @mol
                      last edited by chpalmer

                      @mol

                      I did so but I couldn't connect to the PC via LAGG to another PC.
                      Both PCs connected to the Internet without any problems.
                      What could I have misconfigured?

                      Have you set up firewall rules in your bridge interface?

                      Try status/filter reload. If that does not work a reboot.

                      edit- viragomann beat me to it. ^^

                      Triggering snowflakes one by one..
                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mol @chpalmer
                        last edited by

                        @chpalmer said in How to create a switch with 4 ports, including LAGG:

                        @mol What model is this just out of curiosity? I need something with 2.5 ports myself.

                        I bought on Aliexpress. Search 6 lan i225

                        chpalmerC 1 Reply Last reply Reply Quote 0
                        • chpalmerC
                          chpalmer @mol
                          last edited by

                          @mol Thank you!

                          Triggering snowflakes one by one..
                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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