Re: Squid issues using Satellite system

From: Ben Capili <bcapili@dont-contact.us>
Date: Thu, 15 Jun 2000 19:39:35 -0600

----- Original Message -----
From: "Ben Capili" <bcapili@hyperion.cc.uregina.ca>
To: <squid-users@ircache.net>
Sent: Thursday, June 15, 2000 4:55 PM
Subject: Squid issues using Satellite system

> I don't know if this is more a question on routing or on Squid but I'm at
a
> loss for a solution, so I hope someone out there can help me.
>
> I'm using Squid 2.2 STABLE4 on a RH 6.1 box. We are trying to deploy an
> ISP-type system using an internet connection over satellite. The
limitation
> with accessing the Internet over satellite is that it is uni-directional
> (downstream) from the satellite so therefore, HTTP requests have to be
sent
> back up via a conventional dial-up modem.
>
> Here's the situation:
>
> A client dials out through their local ISP in order to access the Squid
> proxy. (The proxy, of course, has a static IP) The Squid box needs a
> default gateway in order to access the internet (let's say via a T1 line)
to
> retrieve the data that was requested by the client. Now, in order to
> forward this data to the "satellite side", the Squid proxy has to be
routed
> to a special gateway that can send this data over to the "satellite side"
&
> not back through the conventional internet path, otherwise it would just
be
> relayed back to the client via the modem (which would be much slower).
>
> So here's my question. Is there anything I can put in the squid.conf file
> to direct the internet data it has retrieved to a particular
gateway/server?
> I know you can direct it to another proxy but what about just another
> gateway? I thought I could do it via the routing table but how would you
be
> able to route all traffic to a particular server and also have a default
> gateway to access the internet to retrieve data from HTTP requests? By
> having a default gateway to access the internet, all traffic flows out
> through this gateway & not to the gateway I want it to. At least this is
> how I understand it. I hope someone with more routing expertise can help
me
> understand this.
>
> Please Help!! Thank you in advance.
>
> Sincerely,
>

I may have not been too specific about this. We are trying to deploy a
multi-isp satellite network.

Right now we are running a single ISP network (on our own satellite system)
where users dial up to a specific ISP & are assigned a specific IP address
in the broadband network (a pseudo static IP). They are then routed to an
SNMP manager which obtains the MAC addresses of the satellite cards (NIC's).
So, any packets matching the MAC addresses of these satellite cards are
routed through a special gateway which routes the traffic through the
"satellite side" instead of via the modem.

What we want to do is run a multi-ISP network, so that users can dial in
from anywhere through their local ISP's. What they would do is dial-up to
their ISP & get assigned whatever IP address from the pool of IP's available
from their local ISP. The clients' browsers are configured to access the
Squid proxy as their proxy server(So to the squid proxy server they're
basically 0.0.0.0).

This is where the problem arises. By default, our squid proxy server will
spit the traffic back through the modem since the squid proxy has a default
route to access the internet (thereby spitting data back to 0.0.0.0). What
I want to know is how I can route the traffic it receives from its HTTP
sessions through to our satellite gateway (which basically uplinks the data
to the "bird" and the client gets it downstream via its satellite card,
which is connected to an antenna pointing to the satellite). If the squid
proxy needs a default route to access the gateway to retrieve HTTP data, how
can I tell it to forward all that data it has retrieved to the satellite
gateway? Is there something in squid.conf that I can forward the data to
and/or what am I missing in my routing table?

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
10.10.10.11 0.0.0.0 255.255.255.255 UH 0 0
0 eth1
10.10.10.10 0.0.0.0 255.255.255.255 UH 0 0
0 eth0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
10.10.10.0 10.10.10.12 255.255.255.0 UG 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0
0 0 lo
0.0.0.0 10.10.10.1 0.0.0.0 UG 0
0 0 eth0

Let's assume eth0 is the external interface for the squid proxy. Let's
assume eth1 can be on a whatever network, as long as the satellite gateway
is on this network & eth1 is routed to that gateway. We'll say that the
satellite gateway has an IP address of 10.10.10.12. How can I alter the
routing table (if possible) so that I still have internet connectivity (via
the default route) & still be able to forward all data to the satellite
gateway (10.10.10.12)?

Thanks again.

Ben Capili
Received on Thu Jun 15 2000 - 19:33:45 MDT

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