[GLLUG] traffic throtling

Basher584 basher584 at basher584.org
Tue Apr 3 19:14:01 EDT 2007


I haven't played with it recently, but it looks like you can modify the "configure" script to accept your kernel.
On the very top of the configure file, there are some KVERSION= lines.  Just append ",2.6.20" to one of the lines.

After that..
./configure --kernel /usr/src/kernels/`uname -r`-`uname -m` --no-tcsim
make
make install

-Ben

On Tue, Apr 03, 2007 at 05:00:48PM -0400, Mark Szidik/mlc wrote:
> tcng does look like the right ting to get.  Last release for it was: Oct 
> 2004!  Here is my attempt to build from source:
> building tcsim:       yes
> found kernel 2.6.20, need one of 
> 2.4.3,2.4.4,2.4.5,2.4.6,2.4.7,2.4.8,2.4.9,2.4.10,2.4.12,
> 2.4.13,2.4.14,2.4.15,2.4.16,2.4.17,2.4.18,2.4.19,2.4.20,2.4.21,2.4.22,
> 2.4.23,2.4.24,2.4.25,2.4.26,2.4.27,2.5.0,2.5.1,2.5.2,2.5.3,2.5.4
> 
> A little dated!
> 
> This is a CentOS based system and there is no tcng built for it, but tc is 
> there by default.
> 
> ---
> Mark Szidik, CIO
> Michigan Library Consortium
> 1407 Rensen Street, Suite 1,  Lansing, MI 48910-3657
> Ph:800.530.9019 x117   Fax:517.492.3881
> Ph:517.492.3817
> MLC - Partnerships. Solutions. Excellence.
> 
> 
> 
> 
> Basher584 <basher584 at basher584.org> 
> 04/03/2007 04:41 PM
> 
> To
> Mark Szidik/mlc <SzidikM at mlcnet.org>
> cc
> linux-user at egr.msu.edu
> Subject
> Re: [GLLUG] traffic throtling
> 
> 
> 
> 
> 
> 
> tcng is like a frontend compiler that outputs to tc.  You can create a 
> config file that is much easier to read and understand.
> 
> http://tldp.org/HOWTO/Traffic-Control-tcng-HTB-HOWTO/
> 
> There are some examples there, that should help you out.
> 
> -Ben
> 
> On Tue, Apr 03, 2007 at 03:33:37PM -0400, Mark Szidik/mlc wrote:
> > Any doing traffic shaping?  I want to limit outbound http traffic on one 
> 
> > host to 1Mbps.  My research led me to /sbin/tc, but I don't really 
> > understand it.  Assuming this is the right tool, the examples I find 
> > online are more complex than what I need (making it hard to understand). 
> 
> > Anyone able to help with this? 
> > 
> > 
> > 
> > Thanks,
> > ---
> > Mark Szidik, CIO
> > Michigan Library Consortium
> > 1407 Rensen Street, Suite 1,  Lansing, MI 48910-3657
> > Ph:800.530.9019 x117   Fax:517.492.3881
> > Ph:517.492.3817
> > MLC - Partnerships. Solutions. Excellence.
> > _______________________________________________
> > linux-user mailing list
> > linux-user at egr.msu.edu
> > http://mailman.egr.msu.edu/mailman/listinfo/linux-user
> 
> 


More information about the linux-user mailing list