Change default queue
-
I have pfsense running with shaper working and serving well, but I'd like to try a different approach.
Today I have this scenary: a 2mb syncronous link, where I have some labs with shaped traffic; but the default queue is shaper free so anyone who receives a ip from the DHCP server (default rule) can use the entire link, if it is available. This is the default configuration generated by traffic shaper wizard.
I'd like to have a different scenary: I'd like that the default ips could use a limited pipe, let's say a 1mb pipe and only a selected group could use all the 2mb link.
So my question is:
Right now I've seen that there is:
qwanRoot - a 2048kb bandwidth pipe
qlanRoot - a 2048kb bandwidth pipeand it seems that every pipe on shaper has one of the above like their parents.
And I also have:
qwandef and qlandef marked as the default pipes, what I suppose it means to be the default pipes used by new connected clients, that as I said before has qwanRoot or qlanRoot as parents…So, can I create another queues like:
qwan2Root - a 1024kb bandwidth pipe
qlan2Root - a 1024kb bandwidth pipeand configure the default queues in order that they could use this as their parents, in order that it could be the default pipe for every client on net that weren't in another rule?
Following this idea, I would create another queue like fullBand, make their parents the traditional qwanRoot and qlanRoot and attach to them all the clients that I would like to give access to full bandwidth?
is this the best approach to solve this problem?
thanks in advance!
-
No need to.
Just set the upperlimit in the default queues to 1Mb.
Send your known clients (best to use an alias to maintain this list) to qOthersHigh queues without an upperlimit.
-
First, thanks for the info!
Yes, I will make an alias list to keep this information, of who will use the full bandwidth; you have said that I can send this clients to qOthersUpH and qOthersDownH, as parents queues? those queues are not beeing used, according to shaper wizard config?
-
If you're relying on the traffic shaper wizard to do up the queues, then simply mark some application as high priority. qOthersUpH/ qOthersDownH & qOthersUpL/ qOthersDownL queues will be created for you.
You have to realise that qWanAcks, qWanDef, qOthersUpH etc. are all children queues of qWanRoot. Ditto for their downstream counterparts. You send traffic to the sub-queues, not the parent queues.
By properly defining the service curve and upperlimits, you can shape all the traffic you want.Also, you can actually create or delete your own queues under the parent queues. There's no real need to rely strictly on the shaper wizards and you should be adjusting the service curve values (one size doesn't fit all).
-
You might want to try dedicated bandwidth management tools.
I've been using MyQoS in wireless environment for more than 3 years, it supports inbound/outbound QoS polices based on IP,MAC,protocols,VLAN etc.
MyQoS provides free version which is at 2Mb/s, you could find it at www.myqos.net
-
@dreamslacker:
I already have another queues, that I have create for labs, so I probably will not run wizard again, but thanks for the info! I thought that I could use qOthersUpH and qOthersDownH as it seems to not be in use! but I can also create another ones, the best thing for me right now is that I'm figuring out how this works!@superwisp
do you use myqos in another fresh bsd install or in pfsense? does it has a graphical interface to configure it? it seems interesting, I probably will try the free license and see how it works; shaper is doing fine for me, specially right now that I know a little more about it, but another tool based on freebsd may work also!thanks guys!
-
I used MyQoS in dedicated machine with 2 nics, I bought 100Mb/s license, actually I got about 75Mb/s and 1000 wireless users. It can be used as NAT + QoS, or just QoS alone(working in bridge mode).
Yes, it has Web GUI, it's straightforward if you looked through manual carefully.