Displaying 1 result from an estimated 1 matches for "dev_max_r".
Did you mean:
dev_major
2006 Aug 31
0
How can I get min 64kbps max 128kbps bandwidth
Hi all
I have read the lartc manual, I have read the some faqs but still don''t
know how to achive the following:
I have a 512kbps line which I share with 8 customers.
Now what I have is everyone gets max 64kbps. That''s fine.
DEV=ath0
DEV_MAX_RATE=6mbit
DEV_RAT_LOW=64kbit
DEV_RATE_HIGH=128kbit
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth
$DEV_MAX_RATE cell 8 mpu 64
tc class add dev $DEV parent 1:0 classid 1:1 cbq bandwidth $DEV_MAX_RATE
rate $DEV_RATE_HIGH avpkt 1000 prio 5 bounded isolated \
a...