* [LARTC] How can I get min 64kbps max 128kbps bandwidth
@ 2006-08-31 19:46 Beat Meier
0 siblings, 0 replies; only message in thread
From: Beat Meier @ 2006-08-31 19:46 UTC (permalink / raw)
To: lartc
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_LOWdkbit
DEV_RATE_HIGH\x128kbit
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 \
allot 1514 weight 1 maxburst 21
tc filter add dev $DEV parent 1: protocol ip prio 5 u32 match ip dst
0.0.0.0/0 flowid 1:1
But what I want is if there is unused bandwith i.e. others are not
'working' I want to divide this
available bandwith euqal to the users who are working BUT only at a
maxmimum of 128kbps.
I.e. min 64kbps max 128kbps for every user.
I now from reading that you can do such things with borrow but how??
Any help very welcome
Thanks
Beat
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-31 19:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 19:46 [LARTC] How can I get min 64kbps max 128kbps bandwidth Beat Meier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox