[LARTC] isolated works fine for me

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 24 January 2003 21:21, Sebastian 'spax' Pape wrote:
> hi there,
>
> > > i've isolated a band of 5k for one of my friends in the network so he
> > > can play counter-strike .. if i don't use the isolated parameter he
> > > will have a bad ping since his class will borrow to another classes ..
> >
> > Can you post your script so I can take a look at it ?
>
> I tried to reserve bandwidth for cs, too, but it didn't really work. So if
> you work something out I would apreciate it if you post it here ;)
Reserving bandwidth for something is not so difficult.  If you have a 100kbps 
link and you want a minimum of 10kbps for cs, you have to create 2 class : 

  100
  /  \
10  90

100 : rate = ceil = 100kbps
10 : rate = 10kbps, celi = 100kbps
90 : rate = 90kbps, ceil = 100kbps

The 10kbps class will always get at least 10kbps.  If it's a low rate class, 
you can even limit the 90kbps to 90kbps.  So the remaining 10kbps is always 
there for the 10kbps class.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux