Re: [squid-users] Using squid with two connections to different WANs

From: Jack <[email protected]>
Date: Fri, 11 Jan 2002 14:09:27 +0530

Hello Joe,
I have similar problem as,
In my linux-2.2.19-squid box thereis 3 Neywrok interfaces.
IN one interface(eth2) i have one primary ip as 183.183.1.1/16 and aliases
as 185.185.1.1/16. All client machines are connected to this networks.
2nd interface(eth1) is connected to ISP1's router and in another
interface(eth0) is connected to ISP2's router.I set gateway to
this 2 interfaces.

I want 183.183.0.0/16 network clients go through ISP1 gateway and
185.185.0.0/16 network clients use ISP2's gateway.
How to tell this to squid to transfer request to two differenet gateways.

Thanks
Jack

----- Original Message -----
From: Joe Cooper <joe@swelltech.com>
To: <squid-users@squid-cache.org>
Sent: Thursday, January 10, 2002 5:51 PM
Subject: Re: [squid-users] Using squid with two connections to different
WANs

> This isn't necessary (but would work). But it is far easier to
> configure PPP to not hijack the default route...configure just the
> static route you need to go via PPP. Most Unices have very capable
> routing tools.
>
> Torsten.Lange@GECITS-EU.COM wrote:
>
> > hi peter,
> >
> > i believe this is a routing problem.
> > the problem i see, however, is that using a dial-up ppp-connection
> > might modify the routing table, especially the default route everytime
> > the dial-up connection status changes.
> >
> > perhaps you should approach the problem by having another small
> > squid box connection via dial-up. you could use the cache_peer_access
> > directives then to delegate the extranet traffic to the second squid.
> >
> > torsten
> >
> > ---------------------------------------------------------------
> >
> > Hi Guys,
> >
> > I have an interesting one for you. Not sure if its possible or not. I
need
> > to run squid for a network that needs to access to two different
networks
> > through the proxy server. One is a extranet of one of our suppliers, and
> > the other is a standard internet connection. We currently have access to
> > the suppliers network through a standard ppp dialup connection that acts
> > just like an internet connection. The server establishes a PPP
connection,
> > assigns IPs and DNS and then your browse through a standard internet
> > connection to a URL using a stardard domain name (that isn't available
via
> > the internet but is real and registered to the supplier) just as if on a
> > small internet. Fairly simple. But I need to be able to tell squid
(using
> > access lists or something) to use this interface (say ppp0) for all urls
> > based on domainx.com and send everything else via the default route (say
> > eth1 - DSL connection). The clients are on 4 different Networks all
> > connected via either ISDN or Frame Relay - but this doesn't matter as
they
> > all have access to the squid proxy anyway. Squid works just fine if
> > configured for either connection alone. So I can use squid for allowing
> > multiple people to acces just the extranet or just the internet but
> > haven't succeeded for both.
> >
> > Wierd hey. Any ideas?? Any questions??
> >
> > Peter


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Fri Jan 11 2002 - 01:32:04 MST

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