[LARTC] HTB

2002-12-27 Thread Reginald R. Richardson
Hi guys..

Running HTB on leaf bearing 1.0-stable with kernel 2.4.20

For some reason, I'm getting these messages in my SYSLOG
Dec 27 18:21:12 gw-homenet kernel: htb*r3 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r2 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r1 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r0 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*c10011 m=2 t=391999 c=100352 pq=0
df=0 ql=0 pa=0 f: 
Dec 27 18:21:12 gw-homenet kernel: htb*c10001 m=2 t=83725 c=83725 pq=0
df=0 ql=0 pa=0 f: 
Dec 27 18:21:12 gw-homenet kernel: htb*c10010 m=2 t=130400 c=88341 pq=0
df=229376 ql=0 pa=0 f: 
Dec 27 18:21:12 gw-homenet kernel: htb*c10012 m=2 t=577066 c=168099 pq=0
df=6000 ql=0 pa=0 f: 
Dec 27 18:21:12 gw-homenet kernel: htb*g j=145034 
Dec 27 18:21:12 gw-homenet kernel: htb*r7 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r6 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r5 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r4 m=0 
Dec 27 18:21:12 gw-homenet kernel: htb*r3 m=0 
Dec 27 18:21:13 gw-homenet kernel: htb*r2 m=0 
Dec 27 18:21:13 gw-homenet kernel: htb*r1 m=0 
Dec 27 18:21:13 gw-homenet kernel: htb*r0 m=0 
Dec 27 18:21:13 gw-homenet kernel: htb*c10011 m=2 t=391999 c=100352 pq=0
df=0 ql=0 pa=0 f: 
Dec 27 18:21:13 gw-homenet kernel: htb*c10001 m=2 t=83725 c=83725 pq=0
df=0 ql=0 pa=0 f: 
Dec 27 18:21:13 gw-homenet kernel: htb*c10010 m=2 t=130400 c=88341 pq=0
df=229376 ql=0 pa=0 f: 
Dec 27 18:21:13 gw-homenet kernel: htb*c10012 m=2 t=577066 c=168099 pq=0
df=6000 ql=0 pa=0 f: 
Dec 27 18:21:13 gw-homenet kernel: htb*g j=145037 


This is my start file -- this is being started from Shorewall Firewall
run_tc qdisc add dev eth1 root handle 1: htb default 10
run_tc class add dev eth1 parent 1: classid 1:1 htb rate 122kbit ceil
122kbit

echoAdded Top Level Class -- rate 122kbit

run_tc class add dev eth1 parent 1:1 classid 1:10 htb rate 80kbit ceil
122kbit prio 0
run_tc class add dev eth1 parent 1:1 classid 1:11 htb rate 24kbit ceil
100kbit prio 1
run_tc class add dev eth1 parent 1:1 classid 1:12 htb rate 18kbit ceil
64kbit prio 2

echoAdded Second Level Classes -- rates 80kbit, 24kbit, 18kbit

run_tc qdisc add dev eth1 parent 1:10 handle 120: sfq perturb 10
run_tc qdisc add dev eth1 parent 1:11 handle 130: sfq perturb 10
run_tc qdisc add dev eth1 parent 1:12 handle 140: sfq perturb 10

echoEnabled SFQ on Second Level Classes

run_tc filter add dev eth1 parent 1: protocol ip prio 0 handle 1 fw
classid 1:10
run_tc filter add dev eth1 parent 1: protocol ip prio 1 handle 2 fw
classid 1:11
run_tc filter add dev eth1 parent 1: protocol ip prio 2 handle 3 fw
classid 1:12

echoDefined fwmark filters


During the startup of my Linux box, I see this message in the Syslog,
which I assume, is generated, when the sch_htb module is being load

Dec 27 18:02:10 gw-homenet kernel: HTB: quantum of class 10011 is small.
Consider r2q change.4HTB: quantum of class 10012 is small. Consider
r2q change

Any suggestions will be appreciated, thnks



__
Reginald Richardson
ICQ#: 365841
Current ICQ status:   
+  More ways to contact me 
__
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



[LARTC] TC HTB Traffic Shaping

2002-11-22 Thread Reginald R. Richardson
Hi guys,

I'm new to TC HTB traffic shaping

I installed it at my first try on my Bearing Leaf Router/Firewall

I use the tc -s class show dev eth? To see my output
All looks dandy and nice, but it's figures, of which at current momment
looks like French to me,

I would like to see exactly what these figures looks like in a GRAPH
style...

I know I can use MRTG, I do have some litte expience in it..
But I need to figure out, what will be THE TARGET to caputre to output
via the VARIOIUS class from HTB

If Mrtg, is not the best tool for this...can some one tell me of
something very simple, not to much programming language to see, my
output in a graph style..

What would be also very nice, if some on has a config file for MRTG or
what every other tool propose, if they can e-mail it to me, for me to
atleast get an ideal, how to build up the TARGET that should be
monitored..

Thnks

__
Reginald Richardson
ICQ#: 365841
Current ICQ status:   
+  More ways to contact me 
__
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



RE: [LARTC] TC HTB Traffic Shaping

2002-11-22 Thread Reginald R. Richardson
I must give credit where credit is DUE

THnks a LOT...this is a well PUT Together site, I couldn't ask for a
better documentation about Traffic Shapping, I received way more infor,
than I ask for...

And your website, give me more insight about Traffic Shapping, even
better than the HTB website..

Job well don Mr. Coene

 -Original Message-
 From: Stef Coene [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, November 22, 2002 16:45
 To: Reginald R. Richardson; [EMAIL PROTECTED]
 Subject: Re: [LARTC] TC HTB Traffic Shaping
 
 
 On Friday 22 November 2002 10:49, Reginald R. Richardson wrote:
  Hi guys,
 
  I'm new to TC HTB traffic shaping
 
  I installed it at my first try on my Bearing Leaf Router/Firewall
 
  I use the tc -s class show dev eth? To see my output
  All looks dandy and nice, but it's figures, of which at current 
  momment looks like French to me,
 
  I would like to see exactly what these figures looks like 
 in a GRAPH 
  style...
 http://home.docum.org/stef.coene/qos/gui/rrd.html
 
  I know I can use MRTG, I do have some litte expience in it.. But I 
  need to figure out, what will be THE TARGET to caputre to 
 output via 
  the VARIOIUS class from HTB
 
  If Mrtg, is not the best tool for this...can some one tell me of 
  something very simple, not to much programming language to see, my 
  output in a graph style..
 
  What would be also very nice, if some on has a config file 
 for MRTG or 
  what every other tool propose, if they can e-mail it to me, 
 for me to 
  atleast get an ideal, how to build up the TARGET that should be 
  monitored..
 More info on www.docum.org under gui.
 I use rrdtool to store and graph the data.  Rrdtool is part 
 of the mrtg 
 package.
 
 Stef
 
 -- 
 
 [EMAIL PROTECTED]
  Using Linux as bandwidth manager
  http://www.docum.org/
  #lartc @ irc.oftc.net
 
 
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/