Routing for Squid
hi all,
i'm using squid as a proxy server, and have 2 gateway for internet access, currently i'm using 1 gateway for the internet access, if that gateway is down then i have to change it manually the the 2nd gateway.
can anyone help me with the configuration that will automatically switch to 2nd gateway if the 1st gateway is down.
Thanks in advance
/asa
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi asa,
You can make a script to ping your internet gateway every 5 minutes and if it´s down it automatically switch the default route do gateway 2. You set a script to run x time with cron job.
[]´s
Anderson
Quoted 3 lines
hi all,
i'm using squid as a proxy server, and have 2 gateway f
or internet access,
Quoted 1 line
currently i'm using 1 gateway for the internet access,
if that gateway is
Quoted 1 line
down then i have to change it manually the the 2nd gate
way.
Quoted 1 line
can anyone help me with the configuration that will aut
omatically switch to
Quoted 10 lines
2nd gateway if the 1st gateway is down.
Thanks in advance
/asa
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: ht
tp://lartc.org/
Quoted 1 line
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi
try monit (http://www.tildeslash.com/monit/) or mon
(http://www.kernel.org/software/mon/) to test the connectivity with an external element like google, and control the default gateway of your proxy.
pinging the internal gateway is not so effective.
Mensaje citado por andybr <[email protected]>:
Quoted 13 lines
Hi asa,
You can make a script to ping your internet gateway every 5 minutes and if it´s down it automatically switch the default route do gateway 2. You set a script to run x time with cron job.
[]´s
AndersonQuoted 2 lines
hi all,
Quoted 17 lines
Quoted 1 line
i'm using squid as a proxy server, and have 2 gateway f
or internet access,
Quoted 1 line
currently i'm using 1 gateway for the internet access,
if that gateway is
Quoted 1 line
down then i have to change it manually the the 2nd gate
way.
Quoted 1 line
can anyone help me with the configuration that will aut
omatically switch to
Quoted 7 lines
2nd gateway if the 1st gateway is down.
Thanks in advance
/asa
Santiago J. Ruano Rincón
Soluciones Avatar Ltda.
ParqueSoft Popayán
+57-2 8221214
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi.
I use squid (2.5.STABLE4) with probing to parent squid's on ISP-side (2 ISP in my case). And also use "weight" parameter for parents. For first ISP I'v use weight 1, for second 10.
Like this
cache_peer 1.1.1.1 parent 3128 3130 no-delay weight cache_peer 2.2.2.2 parent 3128 3130 no-delay weight=1
So most requests go via 10-weghted ISP untill it not marked "dead" (see /var/log/squid/cache.log) or "tcp connection failed". In that case request will go via second ISP (weight=1).
when 1.1.1.1 "wake ip" :) requests again return in "right way".
Quoted 26 lines
To: Lartc List <[email protected]>
Subject: Re:[LARTC] Routing for SquidQuoted 15 lines
Quoted 4 lines
hi all,
i'm using squid as a proxy server, and have 2 gateway f
or internet access,
Quoted 1 line
currently i'm using 1 gateway for the internet access,
if that gateway is
Quoted 1 line
down then i have to change it manually the the 2nd gate
way.
Quoted 1 line
can anyone help me with the configuration that will aut
omatically switch to
Quoted 3 lines
2nd gateway if the 1st gateway is down.
Thanks in advance
Santiago J. Ruano Rincn
Soluciones Avatar Ltda.
ParqueSoft Popayn
+57-2 8221214
Signature · 7 lines
Alexander Grinevich <[email protected]> JSV SPEZ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/