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@xxxxxxxxxx> 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