Re: [squid-users] about multi tcp_outgoing_address

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 14 Mar 2010 17:01:15 +1300

Dong-Yuan Shih wrote:
> hi all
>
> i got a problem about multi tcp_outgoing_address
>
> acl groupa src 192.168.1.0/24
>
> tcp_outgoing_address ISP1'IP (pppoe)
>
> actually traffic through ISP1
> ---------------------------------------------------
> balance_on_multiple_ip on

The above balance option makes Squid use round-robin for the
_destination_ websites with multiple IP addresses.
  This is now known to lead directly to problems with IP-based
authentication and sessions on many websites.

> tcp_outgoing_address ISP1'IP (pppoe)
> tcp_outgoing_address ISP2'IP (pppoe)
> tcp_outgoing_address ISP3'IP (pppoe)

All these do by themselves is list the IPs Squid may use. First working
one on the list is always chosen.

To do any selection of addresses you must define some ACL about what
conditions each is to be used for.

Load balancing of Ethernet links in Squid is very primitive because of
the information limitations Squid must work through. Load Balancing
Links is really a feature of the oeprating system you are using. It's
easily controlled at that level.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE24
   Current Beta Squid 3.1.0.17
Received on Sun Mar 14 2010 - 04:01:25 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 14 2010 - 12:00:04 MDT