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

    Bridging two ports to work as a switch

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 5 Posters 2.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.
    • H
      Havor @bingo600
      last edited by

      @bingo600 said in Bridging two ports to work as a switch:

      I would avoid bridging on the pfSense, if possible.
      It just puts unnecessary load on the pfSense CPU, doing something that a switch does much better.

      What I have seen from A Celeron J4125 test with literally a full all rules selected firewall WAN>LAN routing 2x 2.5Gbit WAN to 2x 2.5Gbit LAN, it loaded up the CPU100%, and still delivering 800Mbit.
      And with no rules, it maxed out the 2x2.5Gbit = 5Gbit connection with around 75% CPU load

      I am going to transfer max 100Mbit, but realistically 10 to 40Mbit true the two bridged ports, as all the data is just video data streaming to a shield, and for music it's 1~2Mbit.

      With no rules, ETH2 >ETH3 LAN, from what I have been reading, there should be no real CPU limit, but then again, I am also a n00b when it comes to pfSense, coming from a Ubiquity EdgeRouter10X, that had a build in switch.

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

        @Havor
        It's your box ... And it "costs nothing" to try the bridging.

        I just wouldn't for "saving less than 50$" ... But that could be my "upbringing"

        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

        H 1 Reply Last reply Reply Quote 0
        • H
          Havor @bingo600
          last edited by

          @bingo600 said in Bridging two ports to work as a switch:

          @Havor
          It's your box ... And it "costs nothing" to try the bridging.

          I just wouldn't for "saving less than 50$" ... But that could be my "upbringing"

          It's not the cost, tho, saving €70 for a 2.5Gbit switch (have just gotten 2Gbit fiber) would not be bad.

          But running 2 cables would be a pain in the but, as I can pull only one new CAT6A cable through the wall next to the old thin CAT5E cable, 2x CAT6A won't fit, then for the return cable I would need to go into the crawlspace, not some ware you really go for fun.

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

            @Havor said in Bridging two ports to work as a switch:

            I would like to bridge to ports for wire management purpose, and have two ports act as one.

            You mean for something like running Wireshark? If so, I would recommend a managed switch on the LAN side, as I have here. You can even configure a cheap 5 port switch as a data tap for the WAN side.

            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...

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

              @Havor said in Bridging two ports to work as a switch:

              @bingo600 said in Bridging two ports to work as a switch:

              @Havor
              It's your box ... And it "costs nothing" to try the bridging.

              I just wouldn't for "saving less than 50$" ... But that could be my "upbringing"

              It's not the cost, tho, saving €70 for a 2.5Gbit switch (have just gotten 2Gbit fiber) would not be bad.

              But running 2 cables would be a pain in the but, as I can pull only one new CAT6A cable through the wall next to the old thin CAT5E cable, 2x CAT6A won't fit, then for the return cable I would need to go into the crawlspace, not some ware you really go for fun.

              I'm not sure i understand the cable pull part. what your target is anymore.
              If you want to bridge two ports on the pfSense, i'd suppose the cables have to terminate at the pfSense or ??
              What would be the difference in putting the cables in the pfSense or in a switch right below the pfSense ??

              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
              • H
                Havor @JKnott
                last edited by

                @JKnott said in Bridging two ports to work as a switch:

                @Havor said in Bridging two ports to work as a switch:

                I would like to bridge to ports for wire management purpose, and have two ports act as one.

                You mean for something like running Wireshark? If so, I would recommend a managed switch on the LAN side, as I have here. You can even configure a cheap 5 port switch as a data tap for the WAN side.

                No, I am talking about the physical wire runs, two CAT6A cables do not fit in the pipe ware the Ethernet cable goes through now.

                bingo600B johnpozJ 2 Replies Last reply Reply Quote 0
                • bingo600B
                  bingo600 @Havor
                  last edited by

                  @Havor said in Bridging two ports to work as a switch:

                  No, I am talking about the physical wire runs, two CAT6A cables do not fit in the pipe ware the Ethernet cable goes through now.

                  How does that relate to bridging some interfaces on the pfSense ?

                  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

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Havor @bingo600
                    last edited by

                    @bingo600 said in Bridging two ports to work as a switch:

                    @Havor said in Bridging two ports to work as a switch:

                    No, I am talking about the physical wire runs, two CAT6A cables do not fit in the pipe ware the Ethernet cable goes through now.

                    How does that relate to bridging some interfaces on the pfSense ?

                    Saves me a troublesome cable run, under the floor, or a $/€70 switch, that also uses exra power in the long run.

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

                      @Havor where is this Mikrotik switch compared to your pfsense? Why would you not just connect the AC86u in the living room to this switch vs the pfsense. Does the mikrotik not have an open port?

                      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

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Havor @johnpoz
                        last edited by Havor

                        @johnpoz said in Bridging two ports to work as a switch:

                        @Havor where is this compared to your pfsense? Why would you not just connect the AC86u in the living room to this switch vs the pfsense. Does the mikrotik not have an open port?

                        • The AC86U is in the living room, connected to TV, Receiver, and Nvidia Shield media box, and does some Wi-Fi for tablets.
                        • The MikroTik switch is in work/PC room, in a rack with 2 servers, connecting one of the servers and the PC with an 40Gbit connection, so I have a max direct attached QSFP+ cable length.
                        • And the pfSense box is in the utility room on the side of the house ware the fiber comes in.

                        Both have cables that run through the wall's in pipes to the utility room, and the CAT6A s/ftp is pretty sturdy and can't pull two of them through the piping.

                        But is it's really not advised to bridge the ports, I could buy a managed 2.5Gbit switch.

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

                          You can bridge the ports, it will work. And, as stated, it costs nothing to try it so why not. šŸ˜‰

                          Generally in pfSense you would not do that because adding router interfaces is a lot more expensive than switch. And because if you don't need to filter between those interfaces a switch works better and doesn't load the firewall. But it will work.

                          Steve

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