* [LARTC] assertion failed with HTB
@ 2002-05-24 22:42 frip
2002-05-24 23:16 ` Nils Lichtenfeld
2002-05-25 8:11 ` Martin Devera
0 siblings, 2 replies; 3+ messages in thread
From: frip @ 2002-05-24 22:42 UTC (permalink / raw)
To: lartc
Hello,
I've built my 2.4.17 with HTB in order to control outgoing traffic for
p2p protocols.
Everything seems to be ok but I'm getting this error message in the
/var/log/messages:
May 25 00:31:25 plomboire kernel: KERNEL: assertion (delay > 0 && delay
< 5000000) failed at sch_htb.c(416):htb_add_to_wait_tree
Here is my starting script:
tc=tc.htb
if=ppp0
$tc qdisc del dev $if root
$tc qdisc add dev $if root handle 1: htb default 12
AC="$tc class add dev $if parent"
# root class
$AC 1: classid 1:1 htb rate 120kbit ceil 120kbit
# p2p class
$AC 1:1 classid 1:10 htb rate 30kbit ceil 40kbit
# p2p edk class
$AC 1:10 classid 1:110 htb rate 20kbit ceil 25kbit
# p2p dc class
$AC 1:10 classid 1:120 htb rate 20kbit ceil 25kbit
# default class
$AC 1:1 classid 1:12 htb rate 120kbit ceil 120kbit
# outgoing edk
$tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport
4662 0xffff flowid 1:110
# outgoing dc
$tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport
412 0xffff flowid 1:120
$tc qdisc add dev $if parent 1:110 handle 10: pfifo limit 5
$tc qdisc add dev $if parent 1:120 handle 20: pfifo limit 5
$tc qdisc add dev $if parent 1:12 handle 30: tbf rate 120kbit latency
50ms burst 1500
Any idea?
TIA!
Frip'
frip@bigfoot.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-25 8:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-24 22:42 [LARTC] assertion failed with HTB frip
2002-05-24 23:16 ` Nils Lichtenfeld
2002-05-25 8:11 ` Martin Devera
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.