bandwidth-shaping problem(simple queues+queues tree) MK2.9.2

Hello,

i have a problem since i have upgradet from 2.8 to 2.9.

i have two types of clients:

  1. garanteed bandwidth
  2. shared bandwidth

ad 1) - i dont care what they are downloading, they have their bandwidth, so i limit their speed with simple queues - client ip = target ip and limit at = max limit. - this is working in 2.9 like in 2.8

ad2) i need to split the traffic for p2p and tcp(anything else then p2p). for p2p i need to make a lower priority (8) and for tcp a higher priority (7).
then i have to assign every client a max. individual speed (128 or 256 kb). the limit at = individual speed/8 (1:8 aggregation) for each client.
in 2.8 i did this by mangling all traffic for this clients. i had 4 types of packet-mark (tcp-up, tcp-down, p2p-up, p2p-down) (seems to be ok in 2.9 too) then in queues tree i made a rule for up and download and separate the prio for p2p and tcp. the max speed limitation for individual clients made i in simple queues- client ip = target ip and limit at = individual speed /8 and max limit = individual speed. everything worked fine,

problem in 2.9: when i mangle a packet and let it trought queues tree, the simple queues are not applied at all and the shared clients are not limited by their individual speed but by the total shared bandwidth awaileble.

please help, i have spend many hours with reading the docs and configuring the MK router with no success.

thnx

ok, i found that it have something to do with mangle in chain postrouting and prerouting.

if i am using chain postrouting in mangle, simple queues stops to work. anyone knows why?

thnx