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

    traffic shaping per port or bridge?

    Scheduled Pinned Locked Moved Traffic Shaping
    12 Posts 2 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.
    • C
      clutchmaster
      last edited by clutchmaster

      i seem to be able to either traffic shape my "LAN"=bridge0 or per port = port0,1,2,3,4 which would be better currently traffic shaping per port

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

        while im bridging all 5 ports

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

          anyone got 2cents on this???

          1 Reply Last reply Reply Quote 0
          • C clutchmaster referenced this topic on
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            It depends where you are filtering as to where you can apply the shaping. You can move the filtering between the bridge itself or the members:
            https://docs.netgate.com/pfsense/en/latest/bridges/firewall.html

            It also depends what type of shaping you're using. AltQ shapers rely on the interface type supporting them. Both bridge and igb do though. But also also shape traffic leaving the interface.

            What are you actually trying to achieve?

            Steve

            C 1 Reply Last reply Reply Quote 0
            • C
              clutchmaster @stephenw10
              last edited by

              @stephenw10
              the main goal is to solve webpage and video loading issues while downloading anything above roughly 3Mbyte/s / 24Mbits/s half the time i was sitting there for a minute waiting for a page to load seem to get worse with the vpn on but at a higher download rate... this seems to only affect the port this type of traffic is occurring on

              but this question came up in my mind because when i first installed pfsense and i got to the point of choosing which wizard to use for traffic shaper "LAN" wasnt selectable and after fussing around and decided to dual boot and after going back to this step i discovered that "LAN" became an option and and also forgot to mention that LAN was selectable in the independent wizard but wasnt in the other

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

                Well that depends what 'LAN' is assigned to. If it's bridge0 you should be able to use it if you set the sysctls to move filtering onto the bridge.

                C 1 Reply Last reply Reply Quote 0
                • C
                  clutchmaster @stephenw10
                  last edited by

                  @stephenw10
                  so it would be better to shape bridge0 over per port with the bridge still in place?

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

                    It might be better to place limiters on the bridge members to prevent one device saturating the link.

                    That's not going to help if the download is happening on the same end client you are trying to open webpages on though. You can only shape traffic you can filter for which is difficult if it is all https from the same client IP.

                    Steve

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      clutchmaster @stephenw10
                      last edited by

                      @stephenw10
                      thanks for the tips after the last 4 hours trying to understand what it takes to achieve an A+ in buffer bloat. ive come to a conclusion that either my modems junk or my local area is junk need to visit my friends house and i dont think any algorithm can solve this at my line speed i bet it will work perfect for the speeds at A+ rating though
                      would never have been able to figure this out without a pfsense limiters may copper lines never return if are lines ever get upgraded
                      though pretty sure making a traffic shaper for my setup will be trouble some since i use split tunneling on my vpn browsers on vpn and such but game launchers and games bypasses it, though after i try running straight intel for WAN and LAN ill be fairly certain its just dirty service above 40% capacity

                      A+ bufferbloat = (166mb/s down +3ms) (9mb/s up +0ms) from 24ms 2.5ms jitter
                      my isp(spectrum) from speedtest = (375mb/s down +80ms) (12mb/s up +2ms) from 27ms (spikes 500-1100ms buffer bloat tests)

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

                        If it's just a buffer bloat issue then don't shape on the LAN side at all. Just put a limiter on the WAN as shown here:
                        https://docs.netgate.com/pfsense/en/latest/recipes/codel-limiters.html

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          clutchmaster @stephenw10
                          last edited by

                          @stephenw10
                          thanks for all the help and i have already put in place a limiter on the WAN thats how i was able to figure out what was happening with my network ive been dealing with this for atleast 10 years and all my research points to the dreaded intel PUMA 6/7 chipset i get an A+ for bufferbloat if i cap the network at 40% capacity

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

                            @clutchmaster said in traffic shaping per port or bridge?:

                            if i cap the network at 40% capacity

                            Urgh. Yeah new modem time!

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