Hi, I suppose you are using CBQ ? You can create more classes to achieve it. > Something like, giving a user a bandwidth restriction of > 64Kbps to 256Kbps on a 2Mbps network Gives : cbq qdisc \ bounded class rate = 2Mbps \ bounded class rate = 256 Kbps | \ class rate = 64Kbps \ other class rate = 512 Kbps \ other class rate = 512 Kbps \ other class rate = 512 Kbps \ ... But I think it will not the give the results where you are looking for. Or use htb :) Htb has a ceil parameter to ceil a class so it does exactly what you want. With rate you can specify the minimum rate and with ceil the maximum rate. Stef On Tuesday 02 July 2002 11:09, Rohan Almeida wrote: > Hi, > Is it possible to avail of burstable option while > controlling bandwidth using tc? > Let me explain.. :-) > I could successfully allocate an ip(or class) a certain bandwdith > limit, and without giving a bounded parameter, it borrowed > bandwidth when available. > But i also want an upper limit. > Cause, the lower limit works fine. > ie. when there are other ips online, this particular ip > does not go above the lower limit. > Once the other ips go offlline, this particular ip > starts borrowing all the "available" bandwdith. > "available" is the key word here, > After it starts borrowing bandwdith I also want it > to have an upper limit. > Something like, giving a user a bandwidth restriction of > 64Kbps to 256Kbps on a 2Mbps network. > > Thanx -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/