Hi I have now my outgoing traffic shaped whith root qdisc htb (where i configure basic rate) and tc prio (as a leaf with 4 classes) where i can set priority of different kinds of traffic. It works but htb is work-conserving so packets are only delayed (when the rate is exceeded), while i want them dropped. In the case when rate is exceeded i want to drop packets with priority set to 4, then if traffic still too high to drop packets with priority set to 3 and so on. So i need tc-prio under tbf. But tbf is classless. Can i do what i want in some other way? Or maybe i''m misunderstanding something - when htb start to drop packets? Regards Krzysiek. ---------------------------------------------------------------------- Na randke, na randke, na randke... >>> http://link.interia.pl/f189c
Krzysiek wrote:> Hi > I have now my outgoing traffic shaped whith root > qdisc htb (where i configure basic rate) and tc > prio (as a leaf with 4 classes) where i can set > priority of different kinds of traffic. It works > but htb is work-conserving so packets are only > delayed (when the rate is exceeded), while i want them dropped. In the case when rate is exceeded i want to drop packets with priority set to 4, then if traffic still too high to drop packets with priority set to 3 and so on. So i need tc-prio under tbf. > But tbf is classless. Can i do what i want in some > other way? Or maybe i''m misunderstanding something > - when htb start to drop packets? > Regards > Krzysiek.Maybe you could use htb + prio and add 4 p/b fifos to the prio classes and set low lengths with the limit parameter of the fifos. Andy.