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 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 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 200Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit
tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kbit
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
bandwidth 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 command: tc s class ls dev eth0.
Which are the information supplied by this command, which I
should control to draft my interpretations on the use of the bandwidth.
tkanks in advance
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
--0-1317867387-1083585249=:27433
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV><PRE><SPAN lang=EN-GB style="mso-ansi-language:
EN-GB"><FONT face="Arial Unicode
MS">Hi,</FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc qdisc add dev eth0 root handle 1: htb
<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/><o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:0 classid
1:1 htb rate 2000Kbit<SPAN style="mso-spacerun: yes">
</SPAN>ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:1 classid
1:2 htb rate 1200Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0parent 1:1 classid
1:3 htb rate 800Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT face="Arial Unicode
MS"> </FONT></SPAN><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT face="Arial Unicode
MS">tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:2 classid
1:22 htb rate 300Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:2 classid
1:23<SPAN style="mso-spacerun: yes"> </SPAN>htb
rate 200Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:2 classid
1:24 htb rate 100Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SP
AN lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode
MS"> </FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"></SPAN><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode
MS"> </FONT></SPAN><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT face="Arial Unicode
MS">tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:3 classid
1:32 htb rate 300Kbit ceil
2000kbit<o:p></o:p></FONT></SPAN></PRE><PRE><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB"><FONT
face="Arial Unicode MS">tc class add dev eth0 parent 1:3 classid
1:33 htb rate 100Kbit ceil
2000kbit</FONT></SPAN></PRE><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><FONT face="Arial Unicode
MS"><PRE><SPAN lang=EN-GB style="FONT-FAMILY: Verdana;
mso-ansi-languag
e: EN-GB">By using this script, the class 1: 2 can it borrow of the
</SPAN></PRE><PRE><SPA
N
lang=EN-GB style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB">bandwidth not used </SPAN><SPAN lang=EN-GB
style="FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">by the class
1: 3 (the classes 1:2 and </SPAN></PRE><PRE><SPAN
lang=EN-GB style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB">1:3 can she borrow of the busy band among
them).<o:p></o:p></SPAN></PRE><PRE><SPAN
lang=EN-GB style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB"> <o:p></o:p></SPAN></PRE><PRE><SPAN
lang=EN-GB style="FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">I
want to control the used and free busy band during time.
</SPAN></PRE><PRE><SPAN lang=EN-GB style="FONT-FAMILY:
Verdana; mso-ansi-language: EN-GB">For it there, I used the command: tc
s class ls dev eth0. </SPAN></PRE><PRE><SPAN lang=EN-GB
style="FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">Which are
the information supplied by this command,
which I </SPAN></PRE><PRE><SPAN lang=EN-GB
style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB"></SPAN><SPAN lang=EN-GB style="FONT-FAMILY:
Verdana; mso-ansi-language: EN-GB">should control to draft my
interpretations on the use of the </SPAN><SPAN lang=EN-GB
style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB">bandwidth</SPAN><SPAN lang=EN-GB
style="FONT-FAMILY: Verdana; mso-ansi-language:
EN-GB">.</SPAN><SPAN lang=EN-GB style="mso-ansi-language:
EN-GB"><o:p></o:p></SPAN></PRE><PRE><o:p></o:p> </PRE><PRE><o:p>tkanks
in
advance</o:p></FONT></SPAN></PRE></DIV><p>
<hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez
votre Yahoo! Mail</a>
<br><br>
Dialoguez en direct avec vos amis grâce à <a
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo!
Messenger !</a>
--0-1317867387-1083585249=:27433--
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/