Well , it's not so easy.. Beside the fact that i have a non guaranted bandwidth (and when i say this it means that I can have 1 k /sec , or I can have 200 K /sec , depends on the load of my ISP) , I have another problem... I have a lower band for outside my country , but good band in my country.. So , really , I can't say to htb what's my minumum and my maximum.... It depends on users , as they choose their download location... But , I saw some sfq examples... I want just to make www traffic as priority 1 , ftp traffic priority 2 , and the rest to go on the non-priority band... This is an example from lartc.org , but , when I execute it , i have errors.. So , please , can somebody give me an example of code , starting with adding the root queque , and then adding thoose 3 band of priority and then how to specify which traffic goes to which band... Thanks in advance Alex > ----- Original Message ----- > From: "Stef Coene" <stef.coene@xxxxxxxxx> > To: "Alexandru Coseru" <alexcos@xxxxxxx>; <lartc@xxxxxxxxxxxxxxx> > Sent: Tuesday, April 08, 2003 8:47 PM > Subject: Re: [LARTC] non-guaranted bandwith shaping > > > > On Tuesday 08 April 2003 00:18, Alexandru Coseru wrote: > > > can somebody give me an example of how can I shape a non-guaranted > bandwith > > > net connection ? > > > > > > i just wanna make some priority for www traffic so the band doesn't get > > > full with kazza downloads... > > > > > > > > > I've searched for examples , but I cannot find ones.... > > > I've found only for guaranted bandwidth > > It depends on your minimum and maximum bandwidth. Let's say you have > minium > > 100kbit and maximum 500kbit /s. If you create a htb setup like this : > > root class with rate = ceil = 500 > > child class1 > > child class2 > > And sum of rate of child class1 + class2 = 100 and ceil=500. > > > > Actually you create a htb setup for the minimum bandiwidth but it can use > all > > availble bandwidth if it can. > > > > This is just an idea, I don't know if it will work. But I don't see why > it > > shouldn't. > > > > Stef > > > > -- > > > > stef.coene@xxxxxxxxx > > "Using Linux as bandwidth manager" > > http://www.docum.org/ > > #lartc @ irc.oftc.net > > > > _______________________________________________ > > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > >