From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 13 Jan 2003 21:41:32 +0000 Subject: Re: [LARTC] is there an error here ? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Monday 13 January 2003 15:06, Rohit Talukdar wrote: > 1. am a newbie in traffic shaping . > was going thru http://www.docum.org/stef.coene/qos/faq/#2 > Under the para titled > "Basic rules for traffic shaping with HTB" > > there is this line that reads: > So 10, 200 and 300 are leaf classes = they have no child classes. And class > 1 has a maximum of 100 due to the link limitation. So it really can't use > more then 100. > > pardon me if i am wrong, but shouldnt (after looking at the figure) > 20, 200 and 300 be the leaf classes instead of 10, 200 and 300. > ( really apreciate the yeoman service rendered by stef coene in > enlightening newbies like me) Yep. Corrected. > 2. also, > [root@xyz root]# ip link list > 1: lo: mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: eth0: mtu 1500 qdisc cbq qlen 100 > link/ether 00:80:ad:77:6b:46 brd ff:ff:ff:ff:ff:ff > [root@xyz root]# ip rule list > 0: from all lookup local > 32766: from all lookup main > 32767: from all lookup 253 > > after adding the rules (using tc), what command should i use the list all > the rules tc -s -d class show dev eth0 tc -s -d filter show dev eth0 tc -s -d qdisc show dev eth0 Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/