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

    Fundamental downstream shaping problem with multi-wan

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    7 Posts 4 Posters 3.0k 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.
    • M
      mastermindpro
      last edited by

      It kind of surprises me that this hasn't been brought up before, but isn't downstream traffic shaping (in it's current implementation) basically useless in multi-wan scenarios?  The downstream shaper is created as an upstream queue on your LAN interface, but you'll very rarely hit that shaping limit.  You can saturate one or more downstream queues on your WAN interfaces, but unless all WAN interfaces are fully saturated in the downstream direction, the shaping on the LAN's upstream channel never has the opportunity to kick in.

      Surely the mighty BSD has a work-around for this?

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Give a shot at limiters to limit specific congested traffic and use the queues for prioritizing protocols/patterns of protocol.

        1 Reply Last reply Reply Quote 0
        • M
          mastermindpro
          last edited by

          Limiters appear, at least in the GUI, as applying dynamic queues to multiple source or destination IP's.  They don't appear to be able to define a limit on an interface as a whole, unless I'm missing something?

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            Just choose a mask of none and it will apply that limit to all the traffic passing though it.

            1 Reply Last reply Reply Quote 0
            • D
              dusan
              last edited by

              @mastermindpro:

              It kind of surprises me that this hasn't been brought up before, but isn't downstream traffic shaping (in it's current implementation) basically useless in multi-wan scenarios?  The downstream shaper is created as an upstream queue on your LAN interface, but you'll very rarely hit that shaping limit.  You can saturate one or more downstream queues on your WAN interfaces, but unless all WAN interfaces are fully saturated in the downstream direction, the shaping on the LAN's upstream channel never has the opportunity to kick in.

              Indeed. The shaper needs to know the bandwidth of each downlink, individually. As every shaping decision is based on these, without these it cannot work.

              @mastermindpro:

              Surely the mighty BSD has a work-around for this?

              A single LAN - single WAN pfsense box for every link would help. I don't know if it can be considered a work-around.

              1 Reply Last reply Reply Quote 0
              • M
                mastermindpro
                last edited by

                @ermal:

                Just choose a mask of none and it will apply that limit to all the traffic passing though it.

                How, then, do I apply that queue to an interface…specifically the downstream channel?

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

                  I have another question about multi-WAN together with shaping. We have two asymmetrical WAN links with different up/down bandwidths. The providers use inbound policing on the traffic, so I would like to shape outbound on each WAN link to the respective upstream bandwidth, so we won't hit the policers of the carriers. Now, in my understanding of the pfsense shaper, traffic has to be assigned to limiters via the rule base. However, rule base as far as I know only looks at inbound traffic (i.e. decide whether to permit traffic XY to enter via that specific interface). In our case, the traffic to shape comes in via LAN, however at that point, I don't know yet which outbound gateway the traffic will be routed to, so where would i create an outbound rule per WAN link that selects the proper limiter?

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