Hello guys, I need to accomplish 2 tasks with one Linux router: 1) Shape the traffic based on services (e.g. HTTP max 512 kbps, P2P max 128 kbps - with a lower prio, etc) 2) After I have classified the traffic based on services, I want to pass it to the clients with different rates/ceils (one client will get 8/128 kbps, other 8/64 kbps, etc). If all the users are downloading via P2P I do not want the whole traffic to exceed the P2P service ceil (the 128 kbps - as stated before). I know how to shape based on protocols and services. I know how to shape a connection based on IP''s. But how do I combine the both? How should the Hierarchy look like. Thanks in advance, Mihai VLAD