Re: [squid-users] Proxy Setup

From: Mohammad Shakir <shakirgil@dont-contact.us>
Date: Thu, 27 Nov 2003 23:40:52 -0800 (PST)

If I use cache_peer like this in server1.

cache_peer server2 parent 8080 3130
cache_peer server3 sibling 8080 3130
cache_peer server4 sibling 8080 3130

Will it work for load balancing also ?

--- Henrik Nordstrom <hno@squid-cache.org> wrote:
> On Thu, 27 Nov 2003, Mohammad Shakir wrote:
>
> > I have 4 PC PIII 733Mhz with 256MB RAM and USR 56K
> > External Modem with Linux 7.3 configure Squid and
> 4
> > telephone lines.
>
> Why that many servers? One single server is more
> than sufficient for 4
> phone lines.. unless ofcourse the lines are too far
> apart from each
> other..
>
> > Now I want all my request come on server1 ( for
> this I
> > setup dhcp on server1 and define gateway,DNS to
> > server1 to all clients),
>
> Ok.
>
> > I also setup MASQUREAD on server1 so all clients
> are
> > connected with Internet.
>
> Ok.
>
> > But if any request come for browsing means tcp
> port 80
> > Linux automatically forward that request on
> server2,
> > server3, server4.
>
> See the cache_peer directive of Squid.
>
> Or the tcp_outgoing_address (and policy routing) if
> you have multiple
> lines on the same server.
>
> Regards
> Henrik
>

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Received on Fri Nov 28 2003 - 00:40:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:40 MST