All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Has anybody used HTB?
@ 2002-03-06  9:05 eth
  2002-03-06  9:20 ` Martin Devera
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: eth @ 2002-03-06  9:05 UTC (permalink / raw)
  To: lartc

    Until now I've been using HTB instead of CBQ and it worked quite 
good. I try now to prio ICMP and SSHwith the following:

tc_htb qdisc add dev eth1 root handle 1: htb default 10

 # total
 #78Kbytes 
 tc class add dev eth1 parent 1: classid 1:1 htb rate 76kbps ceil 78kbps 
burst 2k

 #50Kbytes 
 tc class add dev eth1 parent 1:1 classid 1:10 htb rate 48kbps ceil 
76kbps burst 2k
   #PRIO as qdisk for this slice
   tc qdisc add dev eth1 parent 1:10 handle 100: prio
     #I try to avoid a situation where a "massive" ping would disrupt 
everything else
     tc qdisc add dev eth1 parent 100:1 handle 101 tbf rate 8kbps 
latency 1500ms burst 1540
     #The second band (probably HTTP) shouldn't eat everything from FTP 
which should be tc filtered in band 3...
     tc qdisc add dev eth1 parent 100:2 handle 102:1 htb default 100221

     tc class add dev eth1 parent 102:1 classid 1002:1 htb rate 40kbps 
ceil 76kbps burst 2k   

... and the last line gives me an error:    RTNETLINK answers: Invalid 
argument. Why?

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-03-08 12:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-06  9:05 [LARTC] Has anybody used HTB? eth
2002-03-06  9:20 ` Martin Devera
2002-03-06 14:48 ` eth
2002-03-08 10:09 ` Martin Devera
2002-03-08 10:49 ` eth
2002-03-08 11:35 ` Martin Devera
2002-03-08 12:54 ` eth

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.