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

    PfSense 2.0 and Traffic Shaping on vlan

    Scheduled Pinned Locked Moved Traffic Shaping
    13 Posts 3 Posters 12.3k 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
      mahoon
      last edited by

      I have only 1 WAN.

      Saygılar..

      1 Reply Last reply Reply Quote 0
      • P
        podilarius
        last edited by

        Then how are you limiting the vlans to 1 megabit? vlans usually share a port on the firewall side of things. you are normally share a gigabit link as this is the most common these days. I would suspect that the limiting is coming from the core router/switch. If you are limiting in the firewall with limiters, then I would switch to traffic shaping so you can set a queue and do priority shaping. This way if all links are using full bandwidth, you share the available BW equally, but if not all are using it, it gives the ones that are active more BW to use.

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

          I am using HFSC algorithm for traffic shaping. How can I Prioritize VLAN ?

          Saygılar..

          1 Reply Last reply Reply Quote 0
          • P
            podilarius
            last edited by

            The HFSC algorithm should already be using the max bandwidth unless a packet comes along that has a higher "priority" than anything else. Check you H2 settings in your queues. I had to remove the upperlimit in my default P2P catchall rule to get the bandwidth I wanted. That queue has lowered priority and a lower link sharing percentage than anything else.

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

              H2 Settings ?

              Saygılar..

              1 Reply Last reply Reply Quote 0
              • P
                podilarius
                last edited by

                LOL … sorry ... M2 setting. You will notice them in the HFSC queues.

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

                  we can share available bandwith among  queues of specified VLAN via  M2 setting on HFSC algorithm.But I need share bandwith among VLANs.I can specify a bandwith limit for a VLAN.But when A VLAN is not use its bandwith B VLAN can not use B VLAN bandwith+Available other bandwith.This is my problem.Can anyone achive this.

                  Saygılar..

                  1 Reply Last reply Reply Quote 0
                  • P
                    podilarius
                    last edited by

                    So, you are seperating the VLANs into their own queue and you are setting a max bandwidth on the queue? If this is the case, you are going to have that problem. If you put all you vlans into 1 queue with a max of all of them combined, so if you have 10 x 1mbits/s, then set the max to 10mbits/s. If they are all using at the same time, then they share equally. If not, and only 1 is using it heavily, then they can go to 10mbit/s.

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

                      I am using Firewall -> Traffic Shaper -> By Interface menu.And I create queues under the associated VLAN.Therefore sum of child queues bandwith limit could not be  greater then bandwith limit of parent VLAN. So how can I put all VLAN in same queue ?

                      Saygılar..

                      1 Reply Last reply Reply Quote 0
                      • P
                        podilarius
                        last edited by

                        Basically you only need to shape on the WAN. This will shape on the outbound. For inbound, it is going to go as fast as possible. The inbound drops packets and causes re-transmission on the remote system. This is mechanism that slows inbound. I would try only limiting WAN and see if that works for you. If not, then try CBQ or PRIQ and see if that will work better for you.

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