[SQU] Q. multiple dial-up ISP config

From: Peter Riocreux <peter.riocreux@dont-contact.us>
Date: 07 Nov 2000 11:13:51 +0000

I just started trying to play with squid and have come across a
challenging problem that doesn't seem to be (apologies if it is)
covered in the archives or the FAQ.

I use two ISPs - my employer, and a commercial ISP - to separate
work-related and non-work-related activities.

They both use a cacheing proxy (squid in both cases I *think*) for
HTTP stuff, but of course they are both different. So, I need to
specify different parents for the two cases. Both ISPs are on a
demand-dialled link with dynamic IP address allcation on both ends of
the link. I have multiple machines and squid is to run on a server
that will provide a cacheing service to other machines.

So, I need to configure squid to have two parent caches, but to only
ever use one at a time, and that for all requests, and to choose which
to use based on the local address of the default route.

Last night while looking at the example conf file, I thought I saw
something that would help with the last aspect - to allow me fo define
an ACL based on the local IP address, but today I cannot find it in
the docs, and believe I imagined it.

I think I can do the peer selection based on cache_peer_access lines
which will take an ACL argument, but that brings me back to needing an
ACL that matches a default route IP addess/netmask.

Am I right about cache_peer_access? And if so, how do I get the ACL to
use with it.

Am I asking the impossible? Should I just do something with packet
rewriting on the outgoing link and use squid as an un-peered cache
that thinks it is going direct all the time? Or is there some bit of
cunningness that I have overlooked?

Regards,

Peter

-- 
Peter Riocreux, Amulet Group, Dept. Computer Science, Manchester University,
Oxford Road, MANCHESTER, M13 9PL, UK.      <http://www.cs.man.ac.uk/amulet/> 
Voice: +44 161-2753547      Mobile: +44 7970-611366     Fax: +44 161-2756236
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 07 2000 - 04:16:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:15 MST