From: =?iso-8859-1?q?derbel=20hajer?= Date: Mon, 03 May 2004 11:54:09 +0000 Subject: [LARTC] htb bandwith Message-Id: <20040503115409.29018.qmail@web20513.mail.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="0-1317867387-1083585249=:27433" List-Id: References: <20040503093319.80082.qmail@web20504.mail.yahoo.com> In-Reply-To: <20040503093319.80082.qmail@web20504.mail.yahoo.com> To: lartc@vger.kernel.org --0-1317867387-1083585249=:27433 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, tc qdisc add dev eth0 root handle 1: htb=20 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kb= it tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kb= it tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kb= it tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit =20 tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kb= it tc class add dev eth0 parent 1:3 classid 1:32 htb rate 300Kbit ceil 2000kbit tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ceil 2000kbit By using this script, the class 1: 2 can it borrow of the=20 bandwidth not used by the class 1: 3 (the classes 1:2 and=20 1:3 can she borrow of the busy band among them). =20 I want to control the used and free busy band during time.=20 For it there, I used the command: tc =96s class ls dev eth0.=20 Which are the information supplied by this command, which I=20 should control to draft my interpretations on the use of the bandwidth. =20 tkanks in advance =09 --------------------------------- Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Cr=E9ez votre Yahoo! Mail Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! Messenger ! --0-1317867387-1083585249=:27433 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
tc qdisc add =
dev eth0 root handle 1: htb 
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit  ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb r=
ate 1200Kbit ceil 2000kbit
tc=
 class add dev eth0parent 1:1 classid  1:3 htb rate 800Kbit ceil 2000kbit
 <=
/FONT>tc class add dev eth0 parent 1:2 classid 1:21 htb r=
ate 600Kbit ceil 2000kbit
tc =
class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit
tc class add dev eth0 parent 1=
:2 classid 1:23  htb rate 200=
Kbit ceil 2000kbit
tc class a=
dd dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit
 
 tc class ad=
d dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 class=
id 1:32 htb rate 300Kbit ceil 2000kbit
<=
SPAN lang=3DEN-GB style=3D"mso-ansi-language: EN-GB">tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ce=
il 2000kbit
By using this script, the c=
lass 1: 2 can it borrow of the 
band=
width not used by the class 1: 3 (the classes 1:2 and 
=
1:3 can she borrow of the busy band among them).
 
I want to control the used and=
 free busy band during time. 
For it there, I used the co=
mmand: tc =96s class ls dev eth0. 
Which are the informat=
ion supplied by this command, which I 
should control to draft my interpretations on the use of th=
e bandwidth.
 
tkanks in advance


Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Cr=E9ez votre Y= ahoo! Mail

Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! Messenger ! --0-1317867387-1083585249=:27433-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/