PfSense 2.0 and Traffic Shaping on vlan



  • Hello there.

    Is it possible to limit and balance the bandwidth on each vlan created?

    I'd like to share equitably the bandwidth I have on my vlans (1mb each). But if a VLAN is overloaded, take bandwidth on another vlan that is less busy.

    I hope I explained it well.

    Thank you in advance.



  • Hello there.

    Is it possible to limit and balance the bandwidth on each vlan created?

    I'd like to share equitably the bandwidth I have on my vlans (1mb each). But if a VLAN is overloaded, take bandwidth on another vlan that is less busy.

    I hope I explained it well.

    Thank you in advance.

    I need too, like that take bandwidth on another vlan that is less busy.

    Has anyone idea about that ?



  • Are these vLANs for multiple WAN access? If not, how is the bandwidth currently limited to 1mb?



  • I have only 1 WAN.



  • 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.



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



  • 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.



  • H2 Settings ?



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



  • 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.



  • 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.



  • 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 ?



  • 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.


Locked