Re: [squid-users] One squid instance, two WAN links, how to failover from primary to secondary link?

From: Alfredo Rezinovsky <alfredo_at_fing.uncu.edu.ar>
Date: Wed, 04 Sep 2013 17:48:59 -0300

El 04/09/13 17:22, Thomas Harold escribió:
> On 8/26/2013 6:41 AM, Nishant Sharma wrote:
>> Hi Thomas,
>>
>> Thomas Harold <thomas-lists_at_nybeta.com> wrote:
>>> In an instance where you have a single instance of squid running on
>>> a two WAN links as WAN
>>> #2
>>> is very slow compared to WAN #1.
>>>
>>> Is this simply handled by changing the default gateway of the server
>>> using the "ip route" commands when we detect that WAN#1 is down?
>>
>> Yes, it should work that way. Simple and easy.
>>
>
> Is it necessary to restart or reload squid when the default routes
> change?
>
You can balance with ip route with nexthop with different weights for
each link and change to a one link only route if the other fails.

You only need to restart if DNSs change, if you have a local DNS no
restart is needed cause for squid the DNS will be always localhost
Received on Wed Sep 04 2013 - 20:49:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 05 2013 - 12:00:04 MDT