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

    Traffic Shaper seems to be broken

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    24 Posts 6 Posters 7.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.
    • P Offline
      pki
      last edited by

      Can anyone post some "good" rules for shaping the WAN->LAN direction? (download)

      I am using a multiWAN setup with two WAN's, oen is 4Mbit the second is 2Mbit download.

      Thx

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

        Go to firewall->traffic shaper

        • Choose by queue view
        • Click any of on the WAN interfaces
        • For the LAN listed there click 'clone shaper/queue on this interface'
        • Go to the  By interface view
        • Click LAN interface
        • Change the scheduler type to PRIQ
        • Change the bandwidth to the interface speed (100Mbit/s ….)
        • Click save
        • Apply settings
        1 Reply Last reply Reply Quote 0
        • P Offline
          pki
          last edited by

          OK, i have added this as You described. The traffic is sorted correctly into the queues. But starting a simple download it brings the connection to the limit, RTT time to the gateway rise to above 500ms.

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

            I am sorry but that is something related to your policy!

            The 500ms you post here is relevant at what it means:

            • Does it mean that ping says 500ms(Have you put ping on a priority queue?)
            • Does it mean that your …...?(my crystal ball crashed here :) )
            1 Reply Last reply Reply Quote 0
            • P Offline
              pki
              last edited by

              Hmm… with "as You described" i mean this:

              Go to firewall->traffic shaper

              • Choose by queue view
              • Click any of on the WAN interfaces
              • For the LAN listed there click 'clone shaper/queue on this interface'
              • Go to the  By interface view
              • Click LAN interface
              • Change the scheduler type to PRIQ
              • Change the bandwidth to the interface speed (100Mbit/s ….)
              • Click save
              • Apply settings

              Yes I have ICMP on the high priority queue.

              1 Reply Last reply Reply Quote 0
              • L Offline
                loftyDan
                last edited by

                @ermal:

                Go to firewall->traffic shaper

                • Choose by queue view
                • Click any of on the WAN interfaces
                • For the LAN listed there click 'clone shaper/queue on this interface'
                • Go to the  By interface view
                • Click LAN interface
                • Change the scheduler type to PRIQ
                • Change the bandwidth to the interface speed (100Mbit/s ….)
                • Click save
                • Apply settings

                I've followed these directions, substituting my actual downlink speed (since I'm using single WAN, and no other local interfaces) and it has restored my downlink shaping as it was in earlier builds.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pki
                  last edited by

                  Have you entered your download speed instead of the 100Mbit in the quote?

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    loftyDan
                    last edited by

                    I did.  But with you having multi-wan, you'd have to combine the downlink speeds, and as far as I understand, that would do nothing to prioritize one link as it got utilized (ie 1 low priority download taking up all of the 4 mb link and a 2nd high priority session on that same link wouldn't take priority because it would appear you still have 2 mb of bandwidth left).

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pki
                      last edited by

                      So how to set-up the shaper it does not exceed the down-rate on each wan interface?

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

                        There are different ways.
                        One i limiters to enforce on each wan the limits provided by your ISP and shaper to prioritize the upload.

                        You can create a set of queues on LAN as:

                        • main link 100mbit
                          –WAN1 x mbits/s
                          ----1stprio queue
                          ----2ndprio queue
                          --WAN2 y mbit/s
                          ----1stprio queue
                          ----2ndprio queue

                        and on each link categorize the traffic.

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pki
                          last edited by

                          You can create a set of queues on LAN as:

                          • main link 100mbit
                            –WAN1 x mbits/s
                            ----1stprio queue
                            ----2ndprio queue
                            --WAN2 y mbit/s
                            ----1stprio queue
                            ----2ndprio queue

                          Do you mean this on limiter or in shaper?

                          I can't create the sub-queues on LAN with specified mbit/s :-/

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

                            Shaper and depending on your need change the shaper type to something else than PRIQ to enter bandwidth.

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pki
                              last edited by

                              OK, I have tried, I am not able to configure it.

                              I will give $20 for anyone who write a walkthrou how to configure the shaper to do download shaping on a one-LAN, two-WAN setup.

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pki
                                last edited by

                                No one interested or not possible?  ;D

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cmb
                                  last edited by

                                  @pki:

                                  No one interested or not possible?  ;D

                                  It's possible :)  Matter of time. We'll get info out there as we can.

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pki
                                    last edited by

                                    OOok, waiting  ;D

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pki
                                      last edited by

                                      ping-pong  ;D

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