Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] is there an error here ?
@ 2003-01-13 14:18 Rohit Talukdar
  2003-01-13 21:41 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Rohit Talukdar @ 2003-01-13 14:18 UTC (permalink / raw)
  To: lartc

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)

2. also, 
[root@xyz root]# ip link list
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP> 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

thanks in advance
nerd

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

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

* Re: [LARTC] is there an error here ?
  2003-01-13 14:18 [LARTC] is there an error here ? Rohit Talukdar
@ 2003-01-13 21:41 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-01-13 21:41 UTC (permalink / raw)
  To: lartc

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: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: eth0: <BROADCAST,MULTICAST,UP> 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/

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

end of thread, other threads:[~2003-01-13 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 14:18 [LARTC] is there an error here ? Rohit Talukdar
2003-01-13 21:41 ` Stef Coene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox