Hello Jose,
This is pretty straightforward using m0n0wall. Do do this you start with
adding two pipes. One pipe that is 95% of your download speed, and one that
is 95% of your upload speed. Mine look like this:
Pipe 1: 730Kbit/s (no delay, no mask)
Pipe 2: 2375Kbit/s (no delay, no mask)
Then you create two queues with equal weight for the two pipes, like this:
Queue 1: Pipe 1, Weight 1, Mask source
Queue 2: Pipe 2, Weight 2, Mask destination
Finally you define the rules that divert traffic into the two queues:
Rule 1: Target Queue 1, Interface WAN, Protocol any, Source LAN, Destination
any, Direction out
Rule 2: Target Queue 2, Interface WAN, Protocol any, Source any, Destination
LAN, Direction in
Then you will share the available bandwidth on a per-ip basis, instead of
per-connection. Chapter two of this would be to disable one_pass and start
processing the packages based on content, but I haven't had the time to
create working rules for that.
Cheers,
Thomas Hertz
> -----Original Message-----
> From: Jose Iadicicco [mailto:joseiadicicco at yahoo dot com]
> Sent: den 25 maj 2004 17:57
> To: term at cynisk dot net
> Cc: m0n0wall at lists dot m0n0 dot ch
> Subject: [m0n0wall] Dynamical Bandwidth Management.
>
> Hello Thomas, my name is Jose Iadicicco and I read about your post at the
> monowall list and saw
> you had the same problem that me (I have a network with 12 computers
> without control of traffic at
> each one, and when one PC opens a program like Kazaa or Emule it takes all
> the available
> bandwidt). Now I solved the problem limiting each PC to 8 Kbytes dowload
> and 4 Kbytes upload (my
> internet connection is: 64 Kbytes Downstream and 16 Kbytes Upstream
> (ADSL)).
> I would like to know if you find out how can we made something like this :
> http://www.bandwidtharbitrator.com/
> I mean, to share the bandwidth dynamically between all PCs no matter what
> programs opens each one,
> all of them may browse the net and use Instant Messaging programs, etc
> etc.
>
> Thank you in advance!!
>
> Jose
>
>
>
|