Squid with two gateways

From: Henrique Pantarotto <scanner@dont-contact.us>
Date: Fri, 30 Apr 1999 15:22:25 -0300

Hello Squid Friends!

I'm a ISP and I have 2 class C address that belongs to two different
backbone providers.

Net A: 200.231.199.0 (its gateway is 200.231.199.1)
Net B: 200.224.215.0 (its gateway is 200.224.215.1)

We offer dialup access to two different kinds of users. One group gets a
Net A - 200.231.199.x address, and the other group gets a Net B -
200.224.215.x address.

Is it possible to set up one single LINUX/SQUID box with IP alias support
so it can handle proxy requests from 200.231.199.x (Net A) and
200.224.215.x (Net B) users? The requests must go throught each net's own
gateway.

With IP aliases support, I can make Linux listen from boths networks, using
the IPs 200.231.199.2 and 200.224.215.2, one for each network.

So, is it possible to:

- Use only one single Squid server
- Proxy requests from 200.231.199.x users through Squid at 200.231.199.2
and fetch web pages from gateway 200.231.199.1
- Proxy requests from 200.224.215.x users through Squid at 200.224.215.2
and fetch web pages from gateway 200.224.215.1
- Both proxies share the same dir_cache

This is difficult to explain. But if you think you know what I am trying
to accomplish, please help!! ;-)

Thanks!!

Henrique Pantarotto
Coord. Técnico Operacional
CEPAnet Internet Provider
Web: http://www.cepa.com.br
Tel. suporte: +55 (011) 5506-8477
Sao Paulo - Brasil
Linux Friend
Received on Fri Apr 30 1999 - 12:13:14 MDT

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