1
18.1 Legacy Series / Non-magic traffic shaping
« on: April 22, 2018, 11:33:46 pm »
I've just installed OPNsense to replace an old BSD box. I've got a slightly weird situation here; I have a highly oversubscribed connection with a rather strict hierarchy of upload priorities. The priority list is basically:
* Send a little bit of bandwidth from each class
* Send as much as Class A wants
* If there's any left, send as much as Class B wants
* If there's any left, send as much as Class C wants
* If there's any left, send as much as Class D wants
* If there's any left, send as much as Class E wants
On the BSD box, I could accomplish this with CBQ; I reserved 2% of the connection for each of the low-priority processes (just so the connections didn't drop all the time), but otherwise just let bandwidth borrowing do the trick. Unfortunately I don't see an equivalent to this in OPNsense. Queue weighting is limited to a factor of 100, which, with five separate priority classes, would mean that a full 40% of my bandwidth would be going to the wrong place. And CBQ, if it even exists in the software, isn't exposed.
Is there any way to accomplish what I'm looking for?
* Send a little bit of bandwidth from each class
* Send as much as Class A wants
* If there's any left, send as much as Class B wants
* If there's any left, send as much as Class C wants
* If there's any left, send as much as Class D wants
* If there's any left, send as much as Class E wants
On the BSD box, I could accomplish this with CBQ; I reserved 2% of the connection for each of the low-priority processes (just so the connections didn't drop all the time), but otherwise just let bandwidth borrowing do the trick. Unfortunately I don't see an equivalent to this in OPNsense. Queue weighting is limited to a factor of 100, which, with five separate priority classes, would mean that a full 40% of my bandwidth would be going to the wrong place. And CBQ, if it even exists in the software, isn't exposed.
Is there any way to accomplish what I'm looking for?