>The only problem is the bandwith sharing.  If one user start a download, he
>can take all the bandwith.  I would be able to configure my linux to share
>the modem bandwith between users.  I already found a bandwith limitator but
>only for one eternet card.  I would like for exemple to limit the bandwith
>of masquerading from one IP to ppp0.


What you are looking for is traffic shaping.  You have two possibilities here.
Free and commercial:


FREE:  Currently in the 2.2.1 kernel docs.  Though I can't confirm this, 
        it looks like this shaper CANNOT do different shaping based on
        the traffic type (TELNET, WWW, etc)


/usr/src/linux/Documentation/networking/shaper.txt
--
Gotchas:

        The shaper shapes transmitted traffic. It's rather impossible to
shape received traffic except at the end (or a router) transmitting it.

        Gated/routed/rwhod/mrouted all see the shaper as an additional device
and will treat it as such unless patched. Note that for mrouted you can run
mrouted tunnels via a traffic shaper to control bandwidth usage.

        The shaper is device/route based. This makes it very easy to use
with any setup BUT less flexible. You may well want to combine this patch
with Mike McLagan <[EMAIL PROTECTED]>'s patch to allow routes to be
specified by source/destination pairs.
 .
.
 .
--

/usr/src/linux/drivers/net/shaper.c
--
 .
 *      BUGS:
 *              Downing the interface under the shaper before the shaper
 *              will render your machine defunct. Don't for now shape over
 *              PPP or SLIP therefore!
 *              This will be fixed in BETA4.
--


COMMERCIAL:  Check out the Bandwidth Manager from Emerging Technologies.
                Though it costs $500, this product WILL shape traffic
                based on traffic type (TELNET, WWW, etc, )

        http://www.etinc.com/bwmgr.htm


--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to