Re: squid

Noah Romer <klevin-qx95VtOkOx/[email protected]> 14 Aug 2003 00:29:32 -0500
Newsgroups gmane.org.user-groups.aclug.linux-help
Message-ID <[email protected]>
On Wed, 2003-08-13 at 15:29, Stephen S. wrote:
> Hello, Jonathan Hall
> 
> Has one point of internet access for the building. Wants to share among
> 4 of 5 offices with throttling so no one office can hog the bandwidth?
> 
> Stephen S.
> -------------------------
> 
> > I don't really understand what you're asking... can you rephrase the
> > question, or elaborate some?
> >
> >
> >> I want to allocate a 256K leased line to 4 leased
> >> lines which goes on to our other offices.
> >>
> >> Thanks in advance,
> >> Sudharsha.
Sudharsha,

What's the network configuration leading from the 256K line to the
offices? Also, by 256K, do you mean 256*1024 bytes/sec, or do you mean
256*1024 bits/sec? [2] I'm not real familiar with the terminology used
for leased lines. 

It's not squid, but if you've got a Linux firewall/router between the
offices and the outside world, you can use the kernel's QOS
functionality (as was mentioned) & qdisc settings via the "tc" [1]
command to do basic throttling.

In a scenario where each office is plugged into a separate network
adapter on a Linux firewall/router, you could do something as basic as:

`tc qdisc add dev eth0 root tbf rate 64kbit latency 50ms burst 1540`

I use the above command to keep BitTorrent sessions' upload traffic from
eating all of my cable modem's resources and screwing up incoming
interactivity. 

[1] `tc` is part of the iproute package.
-- 
Noah Romer          | Knowledge is power.
klevin-qx95VtOkOx/[email protected]   |
PGP key available   | Power corrupts.
by finger or email  |

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/Ox48lLomsl8y7WkRAvfpAJ98ro0WZuCsaEUvnxvFE6B6yrQf7gCeKfcx
g9izyYysSjFlZLJ8AFEBPXM=
=im5r
-----END PGP SIGNATURE-----


-- This is the [email protected] list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi