On 2004.01.18 13:06:04 , Manuel Kasper wrote:
> On 18.01.2004, at 02:29, Martin Arendtsen wrote:
> >When a pipe is made... and a rule applyed...
> >that is only 128 kb/sec for upload for each source... will m0n0wall
> >allow 128 kb/sec for a machine wich is the only one using the bandwidth
> >or can it say... hmm... no one else... heck you can have all bandwith
> >until a other user comes and want some bandwitdh?
> If you have mask = source set on your 128 kbps pipe, then each machine
> will get 128 kbps (as long as the link is not saturated, of course ;).
> If mask = none, then all machines will have to share 128 kbps among
> them. In either case, no single machine can get more than 128 kbps,
> even if there's much more bandwidth available.
> If you want to let machines "borrow" bandwidth if nobody else uses it,
> create a pipe with mask = none and a bandwidth value slightly below
> your effective upstream speed. Then create a queue which references
> that pipe, mask = source, weight = 1 (or any other value, doesn't
> matter). Finally, add a rule that puts all outgoing traffic (out on
> WAN) into that queue. That should create a dynamic queue for each
> machine with the same weight and linked to the same pipe, which means
> that all machines will share the available bandwidth equally, while a
> single machine can still use all the bandwidth if no other machines use
OK... I just have tried it... but there was some problems with it.
When I used the WAN interface it seemed like m0n0wall didn't nat at all.
When I use the LAN interface nat works... and so does your solution.
Thanks! I just love m0n0wall :)
Segment fault = Not my fault