Koozali.org: home of the SME Server

Traffic Shaping

Rob

Traffic Shaping
« on: December 03, 2001, 12:25:05 AM »
OK, so first for the admission, I'm not by a long shot an experienced E-smith user. I have posted in this forum because I think only experienced users are likely to have tried what I would like to do. (I am pretty new here, so please tell me If I've broken unwritten rules or something! )

As per the title I am looking to try some traffic shaping, but I'm only interested if I can make it dynamic. In that I would like mail to have absolute priority over anything, certain users to have high priority, and the rest to have what's left over. However, I don;t just want to allocate the whole thing in  percentage terms, If there is no mail, and no power users, I would like the ordinary boys and girls to have all available bandwith.

I have read the following article Which is a reasonable guide, but by no means a step by step guide.
http://linux.oreillynet.com/pub/a/linux/2000/08/24/LinuxAdmin.html

And just wanted to know if anybody has implemented this? if so how easy was it? or any other thoughts....

Cheers.

Rob

anatole

Re: Traffic Shaping
« Reply #1 on: December 03, 2001, 06:40:39 AM »
Hi,

I would first suggest reading Bandwidth Limiting HOWTO and
Advanced Routing HOWTO at www.linuxdoc.org

A good script is cbq.init which is downloadable   (ftp://ftp.equinox.gu.net/pub/linux/cbq/cbq.init)

Set the mail ports to a high priority  in the config files you
will create at /etc/sysconfig/cbq directory.  See the examples in the
above HOWTO docs. Most important lock the Kazaa and audiogalaxy
ports.

Place the cbq.init file in the  /etc/rc.d/init directory and create a link at
/etc/rc.d/rc7.d/ directory to make it automatically start at
boot -up.  Place it after  the network  initialization file. (use next number after network). eg. S65cbq l


Hope this will help.
 Anatole

Rob

Re: Traffic Shaping
« Reply #2 on: December 23, 2001, 08:53:03 PM »
Thanks for that Anatole

I will have a shot, and possibly have to come back if I don't get anywhere.

Cheers again.

Rob