Hi all,
I have problem with traffic shaping of users connected through PPPoE. The problem is, that I am not able to use both - simple queue and tree queue.
When user is connected, new PPPoE interface and Simple Queue are created. The Simple Queue is limiting bandwidth according to radius rate-limit configuration. It is fine.
Now I would like to create Tree Queue for bandwidth limit of group of users using mangling filter of their IP addresses. If I want to mangle incoming traffic from Internet to PPPoE users, I have to perform mangling in Prerouting or Forward chains. After, when I create Tree Queue, the only parent I can use is Global-Out, because this is the first queue where the traffic is mangled from previous step.
The problem is, that the final shaping is done only by rate-limit in Tree Queue and rate-limit in Simple Queue is omitted. In other words, max-limit in Tree Queue is configured to 512kbit and rate-limit in Simple-Queue is configured to 128kbit, the PPPoE user can download data with speed up to 512kbit and is not limited by 128kbit of Simple Queue.
Why?