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

    Bug? Traffic Shaper Wizard not working on SG-1000

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    30 Posts 17 Posters 11.4k 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.
    • J
      jhartwick
      last edited by

      This thread helped - thanks - was banging my head against the wall.

      +1 for getting ALTQ working on the SG-1000 Nics. My use case:

      The SG-1000 is (hopefully) going to be used at our home offices which each include a VOIP phone registering with a SIP server running on a public IP. Need QOS so that the voip phones don't have crappy performance just because junior is downloading a Torrent, etc.

      If we need to purchase the SG-2220s it will be a much tougher sell.

      Cheers,

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I'm pushing some changes that will make the ALTQ situation more obvious ( See https://redmine.pfsense.org/issues/7032 )

        I don't know if/when there will be support for ALTQ in the cpsw driver.

        As I mentioned earlier in the threads, limiters can be used for shaping if it's necessary.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • G
          grandrivers
          last edited by

          isn't fq_codel part of freebsd 11 could that be enabled on limiters to at least help with buffer bloat ?

          pfsense plus 25.03 super micro A1SRM-2558F
          C2558 32gig ECC  60gig SSD

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

            Thank you for this thread!

            I've been banging my head against a wall as well trying to get traffic shaping working as well. A nice little box that can traffic shape is the main reason I bought the SG-1000.

            The intended use is a house with six users sharing a horrible ADSL connection (syncs at 0.25/5.0Mbps but actual speed tests put it at about 0.2/1.5Mbps). All it takes is one person sharing a "short video" on snapchat or whatever to take down the whole connection for everyone else.

            jimp: Could you please give some pointers or links as to how to use VLANs as a solution? I've been trying to implement it on my own but with no success.

            I imagine the solution is something a long the lines of:

            WAN <-> WAN_ALTQ(VLAN) <-> LAN_ALTQ(VLAN) <-> LAN

            Any help would be appreciated.

            Cheers

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

              Hi,

              I've been trying to get traffic shaping working on the SG-1000 since finding out that the NIC drivers do not support ALTQ. It's been mentioned on these forums that this can be worked around using VLANs (for example: https://forum.pfsense.org/index.php?topic=122798.0). I've managed to get the following setup running:

              
                                SG-1000 
              ISP <--PPPoE--> | WAN LAN | <--VLAN--> Switch <--> LAN
              
              

              The PPPoE and the LAN_VLAN adaptors show up in the Traffic Shaper Interfaces list and I am able to go through the traffic_shaper_wizard_multi_all.xml wizard no problems. However when the rules go to be loaded this error message is given:

              There were error(s) loading the rules: pfctl: cpsw1_vlan10: driver does not support altq - The line in question reads [0]
              

              To see whether this was port specific or not, I then reconfigured my network in the following way:

              
                                                 SG-1000
              Internet <--> Switch <--VLAN--> | WAN  LAN | <--VLAN--> Switch <--> LAN
              
              

              But I get a near identical error message:

              There were error(s) loading the rules: pfctl: cpsw0_vlan20: driver does not support altq - The line in question reads [0]
              

              I'm guessing that the rules for cpws0 are just executed first, hence the different message.

              Is this a bug? Or some subtle setting I'm missing when using VLANs? Or contrary to some of the forum posts do VLANs just not support ALTQ?

              I'm currently running: 2.4.0.b.20170129.1734

              Cheers

              EDIT:
              Just been browsing the 2.4 tickets and found a ticket with similar symptoms:
              https://redmine.pfsense.org/issues/7066

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                https://forum.pfsense.org/index.php?topic=122798.0

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

                  Well yes … I link to that thread in my post  ::)

                  That very thread (and others) suggest you can use VLANs to as a workaround which is what i am doing. But it still does not work. That fact that you can select the interfaces on the Traffic Shaper page is also odd as it is not meant to display unsupported interfaces.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    So why are you starting a new duplicate thread? Won't get anything fixed any sooner.

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

                      Well the earlier thread dealt with limitations of the cpsw NIC driver. This problem is with the vlan driver. It seemed logical to separate the two.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        Merged same topic.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • O
                          oben
                          last edited by

                          @TauCeti:

                          Hi,

                          I've been trying to get traffic shaping working on the SG-1000 since finding out that the NIC drivers do not support ALTQ. It's been mentioned on these forums that this can be worked around using VLANs (for example: https://forum.pfsense.org/index.php?topic=122798.0). I've managed to get the following setup running:

                          
                                            SG-1000 
                          ISP <--PPPoE--> | WAN LAN | <--VLAN--> Switch <--> LAN
                          
                          

                          The PPPoE and the LAN_VLAN adaptors show up in the Traffic Shaper Interfaces list and I am able to go through the traffic_shaper_wizard_multi_all.xml wizard no problems. However when the rules go to be loaded this error message is given:

                          There were error(s) loading the rules: pfctl: cpsw1_vlan10: driver does not support altq - The line in question reads [0]
                          

                          To see whether this was port specific or not, I then reconfigured my network in the following way:

                          
                                                             SG-1000
                          Internet <--> Switch <--VLAN--> | WAN  LAN | <--VLAN--> Switch <--> LAN
                          
                          

                          But I get a near identical error message:

                          There were error(s) loading the rules: pfctl: cpsw0_vlan20: driver does not support altq - The line in question reads [0]
                          

                          I'm guessing that the rules for cpws0 are just executed first, hence the different message.

                          Is this a bug? Or some subtle setting I'm missing when using VLANs? Or contrary to some of the forum posts do VLANs just not support ALTQ?

                          I'm currently running: 2.4.0.b.20170129.1734

                          Cheers

                          EDIT:
                          Just been browsing the 2.4 tickets and found a ticket with similar symptoms:
                          https://redmine.pfsense.org/issues/7066

                          The ESXi driver was having the same issue and was fixed by changing multiqueue support that is baked in to FreeBSD 11 apparently.

                          The SG-4860 VLAN also doesn't work with the shaper due to this altq incompatibility.

                          I'm surprised Netgate/Rubicon whatever they're called these days hasn't prioritised getting this right on their own hardware!?

                          1 Reply Last reply Reply Quote 0
                          • G
                            gsiemon
                            last edited by

                            @oben:

                            The ESXi driver was having the same issue and was fixed by changing multiqueue support that is baked in to FreeBSD 11 apparently.

                            The SG-4860 VLAN also doesn't work with the shaper due to this altq incompatibility.

                            I'm surprised Netgate/Rubicon whatever they're called these days hasn't prioritised getting this right on their own hardware!?

                            Different issue I think.  VMXNET3 nics in ESXi always had support in ALTQ.  The nic driver in the SG1000 doesn't have a driver that supports ALTQ yet.  Refer to the second post in this thread.

                            @jimp:

                            The cpsw NICs in the SG-1000 do not support ALTQ shaping currently. No ETA on that.

                            You could use VLAN tagged interfaces, as those do support ALTQ, but it's a little more to setup on the firewall and switch.

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

                              Missing skills i would suggest, but i am biased :).

                              1 Reply Last reply Reply Quote 0
                              • L
                                loos Netgate
                                last edited by

                                no pun intended… sure :)

                                Jimp just brought this to my attention today.

                                Please, let's open an issue to properly keep all this information.

                                Thanks.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gsiemon
                                  last edited by

                                  @loos:

                                  Please, let's open an issue to properly keep all this information.

                                  Thanks.

                                  Done: https://redmine.pfsense.org/issues/7199

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

                                    @loos:

                                    no pun intended… sure :)

                                    Jimp just brought this to my attention today.

                                    Please, let's open an issue to properly keep all this information.

                                    Thanks.

                                    Nothing personal loos but just above your paygrade, really!

                                    Keep until the next one.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jwt Netgate
                                      last edited by

                                      Ermal,

                                      Having employed both you and Luiz, allow me to make one thing perfectly clear.

                                      By every measure, Luiz is a better engineer, a better employee, and a better individual.

                                      To be clear, his "skills" (technical chops) surpass yours.

                                      I am not alone in this position. One need only reflect on the simple fact that you are not yet a full committer to FreeBSD.  Luiz is.  Why is that, Ermal?

                                      Another point, Why hasn't Chris hasn't employed you at Ubiquit?i

                                      I know the answers to these questions, and so do you.

                                      There are many reasons why your employment here was terminated.  While I have thus far refused to disclose these, mostly to protect your ability to find employment, I do have limits, and you are quite near to exceeding same.

                                      Your actions here and on Twitter can be compared to those of a petulant chilld. I suggest you reconsider the potential consequences of continuing your current path.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nullity
                                        last edited by

                                        Similarly, I miss you around here ermal.

                                        Good luck with whatever you are doing. You're too smart to let these little mistakes lead you down a path you can't return from.

                                        Please correct any obvious misinformation in my posts.
                                        -Not a professional; an arrogant ignoramous.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          doktornotor Banned
                                          last edited by

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

                                            @doktornotor:

                                            Ummm yeah…
                                            This is no place to discuss such matters.

                                            We don`t care.

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