Dear folks,
I''m planning to migrate from HTB to CBQ for my tc shaper server.
But i am a little bit confuse on putting CBQ class parameters with TC for my
applied network.
Here goes the network.
HTB already applied on my network for managing the downstream rate coming from
my ISP as much as 256Kbps.
I have 4 clients, 2 of them i gave: CIR 64Kbps, MIR 128Kbps.
client no.3 have CIR 64Kbps MIR 192Kbps
and the last, client no.4 have CIR 64Kbps MIR 256Kbps.
and my script goes here, not the complete one, just the class parameters.
Please let me know how to deal with this class if i want to apply it with
CBQ.
#!/bin/sh
tc qdisc del dev imq1 root 2> /dev/null > /dev/null
tc class add dev imq1 parent 2: classid 2:99 htb rate 256Kbit
tc class add dev imq1 parent 2:99 classid 2:9001 htb rate 64Kbit ceil 128Kbit
tc class add dev imq1 parent 2:99 classid 2:9002 htb rate 64Kbit ceil 128Kbit
tc class add dev imq1 parent 2:99 classid 2:9003 htb rate 64Kbit ceil 192Kbit
tc class add dev imq1 parent 2:99 classid 2:9004 htb rate 64Kbit ceil 256Kbit
- - [x] - -
# EOF
Thanks ..
Regards,
Rio Martin.