What you want is more of a PCQ application than a per-user-queue application, and there's nothing that directly does exactly what you want - that being give users up to full pipe if available, but strictly limit to X whenever there is load.
In general, the options for bandwidth management are basically in one of a few categories:
- Limit each user to a contracted amount as "up to X bandwidth" (not guaranteed, but may never exceed)
- Minimum guaranteed bandwidth (will always get at least X bandwidth, but may get as much as Y if available - this method is pretty good but the danger is if your "guarantees" ever total more than the maximum available bandwidth, things get bad.)
- Equal sharing with PCQ ~ 1/N bandwidth (for N users) - no individual user parameters (this is the most like what you want)
- Equal sharing with PCQ - X bandwith max for each user, but divides any shortfall evenly between all users (this is the opposite of what you want, by the way)
So if you use PCQ with no "subqueue" rules, PCQ will try to divide the available bandwidth evenly between the subqueues. However, I'm not sure what the behavior will be if you set the PCQ's target to be the PPPoE server interface (in other words, will the PCQ engine be able to look inside the PPPoE streams to see what src/dst IP addresses are on any given packet?)
Perhaps someone with some hands-on experience with such a configuration can add more to this discussion, but this is theoretically what you want. It may not be doable in practice.
(Does anyone with this kind of a setup working in production have anything to add?)
I am using PCQ for download and upload
When created pcq but the Rate=0
True on dst for download pcq
And added new
Pcq=0 and true on src address for upload
Finally
Going queue
Add new
Advanced select download and upload them before time created in pcq
And in the same of queue in general limit download and upload
And select target
Finally apply ok
True method?
Step 2:
After step 2
Queue with pppoe server not work
When select target interface ether for pppoe server,
My problem
Queue was not working with interface of pppoe server but,
Should I add all ip's users in target of queue
Note i select static ip for everyone users
Static with remote address secret .
What do you advise me to do Do you agree with the way recent
To queue working with pcq and equal bandwith.
Regards