Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 20:37:55 +0300
From:      Odhiambo WASHINGTON <odhiambo.raburu@wananchi.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: pf's "borrow" equivalent
Message-ID:  <20061023173755.GH66947@ns2.wananchi.com>
In-Reply-To: <1161622713.453cf4b9a2299@imp7-g19.free.fr>
References:  <1161622713.453cf4b9a2299@imp7-g19.free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
* On 23/10/06 18:58 +0200, eternityos@free.fr wrote:
| 
| 
| Hi everyone,
| 
| I'm new to this list, I use ipfw+dummynet for traffic shaping.
| I'm having an issue...
| I have two users that share a same pipe of 128Kbit/s, so when a user is
| not using internet, the other gets 128KBit/s.
| 
| Now my issue is, when both users use internet at the same time, let's say
| user A is using a P2P software and user B simply surfing the web.
| 
| Logicaly, user A is taking the whole bandwidth and user B is having issues
| surfing.
| 
| I want to guarantee at least 64K, so user A will have at least 64K when using
| internet.
| 
| I already asked about this in #freebsd channel in freenode.... and I been
| answered
| "use pf's borrow option".

There is a very good tutorial here:

http://alex.kruijff.org/FreeBSD/Firewall_Setup.html

The rules will guarantee that each user gets equal share of the 
available bandwidth ;)


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

//GO.SYSIN DD *, DOODAH, DOODAH



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061023173755.GH66947>