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

Re: traffic shaping advice sought



On Sunday 16 September 2001 07:52 am, Martin F Krafft wrote:
> hi,
> we operate a linux router on a 8kbps isdn connection - needless to
> say, this bandwidth requires some form of shaping, because 8kbps is
> quickly used up by one client only, rendering all other workstations
> in the network virtually without network traffic - linux routing
> doesn't seem to be advanced enough so as to give other connections a
> chance when one is going 100% already.
>
> so i am looking for traffic shaping methods, kernel based. right now,
> i think there is the traffic shaper in ther kernel, but also QoS and
> fair queuing. i am looking for some advice on what to choose.
>
> basically, i would like to set up a default shaper, which will give
> full bandwidth to the first client, but as soon as a second client
> contacts, it fairly divides 50-50. the third client will reduce that
> to 33-33-33, the fourth to 25-25-25-25 and so on.
>
> however, i would like to be able to set a maximum on individual
> bandwidth by IP or MAC address in addition to this default behavior. i
> can use iptables if that's necessary.

Sounds like fun.

[ Disclaimer: I know nothing about traffic shaping ]

I wanted to do something similar once with my 56K, but I'm lucky if I connect 
at 28.8 around here so it's kind of silly to bother.  Anyway, someone dropped 
me this link that discusses QoS.  Maybe it'll help you out:

http://users.belgacom.net/staf/qos/example/

gShield, an IPtables firewall script, is setup to mark packets into four 
groups, though yours will doubt less be different.  The syntax for packet 
marking with IPTables is in the script, which you can nab at:

http://muse.linuxmafia.org/gshield.html

Good luck.

> any thoughts appreciated!
>
> martin;              (greetings from the heart of the sun.)
>   \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck



Reply to: