[squid-users] Re: delay pools help

From: Adam Aube <[email protected]>
Date: Fri, 16 Apr 2004 23:50:43 -0400

Payal Rathod wrote:

> One software company some distance from us have agreed to share their
> bandwidth with us for2 months. They will give us 128KBps.

Who will enforce this 128kbps limit - the software company, or you?

> I want to allow only few IPs (192.168.1.1 and 192.168.1.11) full use of
> bandwidth, the rest should use only 64 KBps.

If the software company enforces the limit, then it's easy. Just create a
single class 1 delay pool with a 64 Kbps limit. Deny delay pool access to
the IP's that you want to have full speed, and allow everything else.

If you have to enforce the limit, then it takes a little more work. You will
need to use your OS's traffice-shaping capabilities to throttle total
bandwidth to 128 Kbps.

For Linux, search for the Linux Advanced Routing HOWTO. The BSDs are also
capable of doing this, though I don't know enough about them to tell you
what tool you'll need.

Adam
Received on Fri Apr 16 2004 - 21:50:29 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT