Traffic Shaping Guide - Extended Explaination
-
So I'm reading the Traffic Shaping Guide (http://doc.pfsense.org/index.php/Traffic_Shaping_Guide) and get the part about Limiters. In a specific section it reads:
Using Limiters for Bandwidth Guarantees
If you want to use limiters to guarantee a certain amount of bandwidth instead of limit, you can do so by making four limiters.
Bandwidth to guarantee upload
Bandwidth to guarantee download
Total bandwidth upload (less guaranteed above)
Total bandwidth download (less guaranteed above)
Ensure that you do not set the Mask to anything other than "none". It must be "none" for these to work properly.
So if you have 8Mb down and 2Mb up, and you want to guarantee 512Kb/s for service X, you'd have queues sized like so:
512 Kb/s
512 Kb/s
1536 Kb/s
7680 Kb/s
Then direct the guaranteed service traffic into the first two limiters, and everything else into the "total" limiters.My question is: Can you expand on what the last sentence means? I'd like to guarantee service to a specific IP and I'm pretty sure I can do that no problem with a basic limiter and the rule for that IP/Alias. But, how do I "direct everything else" into the total limiters?
-
I believe you can create a default rule that sends all traffic through the total limiters. Then create a higher priority rule to direct guaranteed traffic to the guaranteed limiters.
-
ltech:
Thank you for your response but I don't see any "default" setting in the advanced sections when creating a rule. Do you think maybe I just create a standard rule using the in/out and set the total bandwidth limiters? Then create a second rule and put it before the "default" rule and that should do it?
Also, what does creating a child in the limiters do vs creating 4 separate limiters do differently?
-
The default rules just means that it is the rule that matches everything. Create a rule that matches all traffic and have that be the last rule in the list. That rule should assign traffic to the limiters that manage the not reserved bandwidth.