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

    Shaping opt1

    Scheduled Pinned Locked Moved Traffic Shaping
    19 Posts 3 Posters 8.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.
    • B
      billm
      last edited by

      @rexster:

      yes that's what i did.
      i remove the wizard and start it over choosing the port connected to my hotspot.
      and that's the error i got when i press the finish button.

      btw.
      if it make any different, i just found out that my wireless actually on opt2.
      while opt1 is not connected to anything yet.

      Bingo.  So you chose an interface that didn't have an IP address on it and it blew up complaining that the interface you chose had no IP address on it.  I'll get that one fixed too, shouldn't have let you select an interface with no IP (or it should have been a little nicer about it when you did, leaving you confused as to why shaping wasn't working at all).  Thanks

      –Bill

      pfSense core developer
      blog - http://www.ucsecurity.com/
      twitter - billmarquette

      1 Reply Last reply Reply Quote 0
      • R
        rexster
        last edited by

        sorry i didnt make it very clear.

        i have 4 nic.
        lan & wan as usual
        opt1: not connected yet. but i already put an ip to it.
        opt2:connected to my wifi

        all nic have different ip/subnet

        i choose opt2 for the shaping interface.
        that's the error i got when i choose opt2 for the shaping interface.

        no error when i choose lan to shape.

        tnx
        rex

        http://www.GoBlogLah.com

        1 Reply Last reply Reply Quote 0
        • B
          billm
          last edited by

          Can you send me your /conf/config.xml?  bill.marquette at gmail.com  –  it sounds like the wizard screwed something up, but I can't tell what.  Thanks

          --Bill

          pfSense core developer
          blog - http://www.ucsecurity.com/
          twitter - billmarquette

          1 Reply Last reply Reply Quote 0
          • R
            rexster
            last edited by

            email sent.

            tia
            rex

            http://www.GoBlogLah.com

            1 Reply Last reply Reply Quote 0
            • B
              billm
              last edited by

              OK, I noticed a few things wrong with your config…the first most glaring issue is that all the shaper rules are tied to wan or lan - that's unusual as it shouldn't be, but then the config we saved in the <ezshaper>tags show inside int being LAN and outside int being WAN.  I'll assume that you've sent me a config that has the interfaces changed back to lan/wan.

              With that said, I noticed that you have vlan 1 assigned to rl0 which is OPT2 - I wonder if something's picking that up somehow (as vlan1 isn't an opt interface for you).  Not sure, just noticed it and it's "odd".  Also, and this is just an FYI...you're DHCP range on OPT2 is in the same /24 as the DHCP range for opt1.  I can't think of a reason either of those config issues would necessarily create bad rules, but it's entirely possible - I do suspect the vlan on the OPT2 physical interface causing unforseen issues though.  Can you try removing that config and seeing if the wizard generates any better rules?  If you still have issues, go ahead and send me an updated config.xml and /tmp/rules.debug

              --Bill</ezshaper>

              pfSense core developer
              blog - http://www.ucsecurity.com/
              twitter - billmarquette

              1 Reply Last reply Reply Quote 0
              • R
                rexster
                last edited by

                vlan removed
                dhcp range for opt1 removed
                dhcp disabled
                opt1 disabled
                wizard removed and re-run

                same problem.

                email sent for your review.

                tia
                rex

                http://www.GoBlogLah.com

                1 Reply Last reply Reply Quote 0
                • B
                  billm
                  last edited by

                  Thanks, that might have done the trick.  I'm gonna sit down and ponder code for a while, but I think I know where the bug is based on the new config.xml you sent me.

                  –Bill

                  pfSense core developer
                  blog - http://www.ucsecurity.com/
                  twitter - billmarquette

                  1 Reply Last reply Reply Quote 0
                  • R
                    rexster
                    last edited by

                    @billm:

                    I'll assume that you've sent me a config that has the interfaces changed back to lan/wan.

                    you assume correctly

                    http://www.GoBlogLah.com

                    1 Reply Last reply Reply Quote 0
                    • B
                      billm
                      last edited by

                      Alrighty, I'm reasonably confident I found the bug.  It's going to take a little more brainpower than I have now to actually confirm and fix it.  There's a chance this will be fixed for Beta 2.  I'm a little stumped as to why the wan rules weren't generated correctly, but it probably has to do with the OPT2 rule (which I think is getting confused with the 'wifi' description) not getting caught correctly.

                      Good find!

                      –Bill

                      pfSense core developer
                      blog - http://www.ucsecurity.com/
                      twitter - billmarquette

                      1 Reply Last reply Reply Quote 0
                      • R
                        rexster
                        last edited by

                        just wondering, didnt mean to rush…

                        is this bug resolved yet?
                        coz the wireless users with kazaa are killing my download speed and i need a way to shape them...

                        tia
                        rex

                        http://www.GoBlogLah.com

                        1 Reply Last reply Reply Quote 0
                        • B
                          billm
                          last edited by

                          @rexster:

                          just wondering, didnt mean to rush…

                          is this bug resolved yet?
                          coz the wireless users with kazaa are killing my download speed and i need a way to shape them...

                          tia
                          rex

                          I wasn't able to duplicate it on my setup and had other easier bugs to kill.  Haven't forgotten about this one.

                          –Bill

                          pfSense core developer
                          blog - http://www.ucsecurity.com/
                          twitter - billmarquette

                          1 Reply Last reply Reply Quote 0
                          • R
                            rexster
                            last edited by

                            cant wait any longer :)

                            so i get the testing snapshot 2-19-06 iso and do clean install.

                            then trying traffic shaping again.

                            still… same error.

                            tnx&rgds,
                            rex

                            http://www.GoBlogLah.com

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