[LARTC] is there an error here ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux