Re: [SQU] Multiple internet connection at squid machine.

From: Ben Efros <bene@dont-contact.us>
Date: Mon, 27 Nov 2000 21:44:15 -0000

----- Original Message -----
From: "Chutima Subsirin" <SPAM_PROTECTION_chutima@infoquest.co.th>
Sent: Tuesday, November 28, 2000 4:24 AM
Subject: [SQU] Multiple internet connection at squid machine.

>I have a question that if I want to add more interface to this box. How I
configure Squid to know 2 interface to internet.
>
> For example:
>
> First Internet Interface: 202.155.99.1
> Second Internet Interface: 203.160.77.1
> Internal Interface: 192.168.111.1
>
What squid does is create an outgoing connection that will follow the paths
outlined in your routing table. Usually you have only one default entry in
the routing table that is set to handle all outgoing internet connections,
however when you have two (or more) default routes then you will start
needing to do a little more work... You can split your Internet
connection's routing information so that certain subnets use certain
interfaces.... for example

You could have all traffic going to 152.*.*.* (AOL if i recall correctly) go
out on internet interface 1
while you have all other data (default route of 0.0.0.0 netmask 0.0.0.0)
travelling on interface 2. These are set in your routing tables.

If you want load balancing type things.... You will need some way to route
data and divide it up appropriately between the Internet connections. There
may be some daemon for BSD that does this (I don't use BSD).

While we are on the topic, I believe linux 2.4 has some nice features on how
its iptables (netfilter stuff) can modify which interfaces packets travel on
and also what their priorities are (both packet and priority in the queues)
>
> Can Squid handle two going-out interface at the same time?
I believe so (I don't remember all the configuration options in squid).
This may be all done at the system level where the system determines which
interface is best, instead of squid.... but its probably better to let
someone else answer this one.

Enjoy

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Nov 27 2000 - 22:45:49 MST

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