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

    Traffic shaper changes [90% completed, please send money to complete bounty]

    Scheduled Pinned Locked Moved Completed Bounties
    375 Posts 72 Posters 472.7k 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
      ccfiel
      last edited by

      ermal, would the new traffic shaper allow you to distribute evenly bandwidth to the active workstations. example i have 2mb bandwidth. first  workstation 1 download a file so it gets the 2mb. after minute workstation 2 start download another file so workstation 1 gets 1mb and workstation 2 gets 1mb. is this possible with the new traffic shaper?

      chris

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

        yes, just use CBQ discipline and it will setup you up for that.

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

          Hello ermal. I have send you a private message about the traffic shaper

          Chris

          1 Reply Last reply Reply Quote 0
          • V
            venis_LA
            last edited by

            Hello Ermal, I've made myccontribution but have not gotten any links to the new shaper,kindly advise. Thanks.

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

              Check you mail i sent the reply with instructions.

              Sorry but my connection has been spooky and am replying from another location right now.

              Ermal

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

                ermal, i have notice that sticky connection was missing. is this a bug?

                chris

                Screenshot.png
                Screenshot.png_thumb

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

                  Will check it before making available the other image.

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

                    ok thanks ermal! and load balance does not work :(

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

                      What do you mean by load balance does not work?!

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

                        ermal, I have tried to enable the load balance but only the WAN1 will get all the load but it works well in 1.2 official release. is this also a bug? or just missing something?

                        chris

                        Pool.jpg
                        Pool.jpg_thumb
                        Rules.jpg
                        Rules.jpg_thumb
                        Status.jpg
                        Status.jpg_thumb

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

                          Can you please send me your rules.debug privately.

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

                            Hello ermal, pm sent :)

                            chris

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

                              Hello ermal,

                              i got this error. :( think this is the load balancer error. any ideas?

                              Jul 11 01:52:21 php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:146: syntax error pfctl: Syntax error in config file: pf rules not loaded The line in question reads [146]: pass in quick on $lan route-to { ( xl0 192.168.3.1 ) } from 192.168.0.0/24 to /32 keep state label "USER_RULE: Make sure DMZ 2 traffic goes to WAN2 DMZ"
                              Jul 11 01:52:21 php: : There were error(s) loading the rules: /tmp/rules.debug:146: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [146]: pass in quick on $lan route-to { ( xl0 192.168.3.1 ) } from 192.168.0.0/24 to /32 keep state label "USER_RULE: Make sure DMZ 2 traffic goes to WAN2 DMZ"

                              chris

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

                                ermal, problem solve :) just change my ip /32 to /24

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

                                  ermal,
                                        load balance is now working :) and sticky connection option appears :)  i am now testing your traffic shaper. My first problem is that the system can only see one interface. is this normal?

                                  chris

                                  Interface.jpg
                                  Interface.jpg_thumb
                                  Shapping1.jpg
                                  Shapping1.jpg_thumb
                                  Shapping2.jpg
                                  Shapping2.jpg_thumb

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

                                    ermal,
                                          I tried to used  by queue tab and clone shaper. is this good?

                                    chris

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

                                      Well i think the vx driver is not on the list of hardware interfaces that support ALTQ, the traffic shaper.

                                      I searched a little bit and i cannot come to a conclusion can you please verify if it supports it or not?

                                      Instructions to enter it on the list of supported ALTQ interfaces:
                                      Go to Diagnostics->Edit File
                                      load /etc/inc/interfaces.inc
                                      search for "is_altq_capable" function
                                      add it to the list there - after ,"ste" add the line ,"vx"
                                      Save
                                      Go to the traffic shaper and it should show the interfaces
                                      Make a simple configuration and reload the rules.
                                      If it does work report back so it get added to the list.

                                      Ermal

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

                                        you right ermal vx is not supported :(

                                        php: : New alert found: There were error(s) loading the rules: pfctl: vx1: driver does not support altq The line in question reads [ vx1]:
                                        Jul 12 00:21:49 php: : There were error(s) loading the rules: pfctl: vx1: driver does not support altq - The line in question reads [ vx1]:

                                        so i need another new lan cards
                                        chris

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tomdchi
                                          last edited by

                                          bug?

                                          I have am trying to use the penalty box feature and added an alias to it during the wizard setup.  It does not look like that it is working.  The penalty box used to have its own que and I finaly noticed that it was added to the qotherslow.  I am not seeing any traffic going through this que even though there are people using ip's associated with the alias.
                                          Anything special I need to do?

                                          Thanks,
                                          Tom

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

                                            Try to see if you are overridng the selection with a policy/rule on the interfaces tab.
                                            Since the wizard creates a ruleset but you have to be careful when adding rules on the interfaces since they override every rule on the floating tab that does not have quick checked.

                                            Read previous posts where i go in detail about this.
                                            If you are doing this for optional interfaces too please check posts before cause you need to apply a fix for that
                                            till the new update goes out after the move to FreeBSD 7 has settled.

                                            Ermal

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