Priority up to 1Mbit/s, is it possible?
-
Hi there!
I would like to use priority-based queuing for a service, but i would like its priority to be limited to 1Mbit/s, so that the first 1Mbit/s of both incoming and outgoing bandwidth will be reserved for that service (if any traffic form it is present); the rest of traffic will be routed according to standard rules.
Example: 10Mbps total bandwidth, 3Mbps "Pri" traffic, 8Mbps other traffic. 1Mbps of "Pri traffic" gets prioritized, the rest gets assigned "as usual" up to bandwidth saturation.
How could i achieve that?
Thank you
-
Hi there!
I would like to use priority-based queuing for a service, but i would like its priority to be limited to 1Mbit/s, so that the first 1Mbit/s of both incoming and outgoing bandwidth will be reserved for that service (if any traffic form it is present); the rest of traffic will be routed according to standard rules.
Example: 10Mbps total bandwidth, 3Mbps "Pri" traffic, 8Mbps other traffic. 1Mbps of "Pri traffic" gets prioritized, the rest gets assigned "as usual" up to bandwidth saturation.
How could i achieve that?
Thank you
If you are referring to PRIQ, then yes, what you want is not possible (aside from VLANS or other interface limits). CBQ, HFSC, FAIRQ, or dummynet's (pfSense limiters') fq_codel are better (the only?) options.
You've read the pfSense wiki, right?
-
You can either shape via bandwidth or shape via priority. They are two logically incompatible ways to shape. My personal opinion is that HFSC is the best and simplest way to shape via bandwidth.
The real question is why do you want to shape via bandwidth in the first place. fq_codel is quite turn-key, excluding the currently kludgy way you have to set it up, and it does fairly good flow isolation and fair bandwidth distribution. While you lose the ability to micro-manage, it "just works" like freaking magic.
-
Agree with Harvy66, ur using the wrong tool for the job.