Skip to contentSkip to conversation

is there an error here ?

LARTC Rohit Talukdar 2 participants 2 messages Jan 13, 2003

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 10 lines · Rohit Talukdar

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.

Quoted 4 lines

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.

Quoted 11 lines

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
Quoted 2 lines

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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/