I have looked for some config, that will do this, if you (someone) could be so kind and help me with this
What I have
2x RB411AH as an AP on local network, wlan and LAN port is in bridge mode
Situation
If some CUF (Common User Frank) want to upload his highly needed party photos to server, so he can share it with others, he will overwhelm wireless connection and others cannot work as fast as they need.
What I need
So Could you be so kind and help me config Queues, that will limit this high speed consumers from owerhelming wireless connection?
I thougt about some rule, that will say, if you download or upload some big shit, or your abuse is too long, than your speed will be limited to eg. 512kb
thank you very much for help, your parents will be proud and I will tell about your grace all over the internet…
oh your God, litlle bit of tunning and it work like Holywood marriage. Thank you
one more thing
you have some shortcut where can I find explanation about diferences betveen limit-at= and max-limit= command ? Or you can make it by your own ?
Let us assume that you have an internet connection of 10Mbps up and down. Now, you divide the connections of your network into two major groups, like HTTP and other.
First you would create a parent queue with 6Mbps max-limit. Then you create to child queues to this parent, one for HTTP and one for other. The limit-at usually is specified in the child queues. What it means is that you guarantee the minimum of bandwidth to this queue, so the router will always try to deliver the limit-at, no matter what (granted the bandwidth is available).
In the example above I am trying to give higher priority to HTTP connections by specifying the priority, but nevertheless, the router will always deliver the 1Mbps to the other connections even if it has lower priority. In the other_traffic I have also put the max-limit to 8Mbps so I am always living a 2Mbps window to the HTTP_traffic. I do this because the router can only manage the traffic that is going through to it (it does not know what is being delivered to it), and if the other traffic populates the entrance there is little chance that HTTP connections will be the first to be captured by the router. Think of this as a line in an airport, or tickets at train station. Even if you might have some priority to pass first, the person at the booth can not notice you if you are behind a crowded line.
Also, you should be careful at the summ of the limit-at of both child queues. It should not exceed the max-limit of the parent queue, usually at half of the max-limit of parent queue, so it lives you room to play with priorities as well.