Re: Multiple outgoing addresses for squid?

From: Chris Ross <chris.ross_at_markmonitor.com>
Date: Thu, 29 Mar 2012 14:49:50 -0400

On Mar 29, 2012, at 14:42, "Robert Collins" <robertc_at_squid-cache.org> wrote:

> On Fri, Mar 30, 2012 at 4:18 AM, Chris Ross <cross_at_markmonitor.com> wrote:
>>
>> So, I suspect someone has looked at this before, but I have an edge device that is multi-homed. I have multiple WAN connections available, and what I'd really like to do is have a squid that's smart enough to "learn" which web sites are better out of which WAN connection. But, shy of something that advanced, is it possible to have squid know to bind to N outside addresses, and then either round-robin them, or try one always, and then try the other if there is a failure on the first?
>>
>> I'd be happy to help implement such a thing if it doesn't already exist, but I assume this is the sort of problem that has already been faced and hopefully solved.
>
>
> 'tcp_outgoing_address' in the config ;)

  Last time I looked, that could only accept one address. I want to bind to multiple outgoing addresses, so I can control routing of queries.

  Can tcp_outgoing_address take multiple addresses now? Does it just round-robin through them?

                    - Chris
Received on Thu Mar 29 2012 - 18:50:02 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 30 2012 - 12:00:11 MDT