Search squid archive

Re: Squid configuration with 2 ISP link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I define a configuration like this on my squid.conf:

cache_peer   proxy.isp1.net   parent   8080   0   weight=50 default no-query
cache_peer   proxy.isp2.net   parent   8080   0   weight=50 default no-query

When both links are connected, the squid uses the isp1 parent, if i remove the link for isp1, browsing stops, however i can see on the access.log that it is accessing the isp2 but doest diplay a page, if i connect the link of isp1, browing continus but now the default parent is isp2 as i monitor the access log is isp2. Im just wondering, it should use both isp for load balancing however in the case of link problem it should use the one on-line, am i right?

Please help me, any idea will surely helps,

Wennie


----- Original Message ----- From: "Matus UHLAR - fantomas" <uhlar@xxxxxxxxxxx>
To: "squid-users @ squid-cache.org" <squid-users@xxxxxxxxxxxxxxx>
Sent: Saturday, July 09, 2005 5:23 PM
Subject: Re:  Squid configuration with 2 ISP link


On 09.07 13:45, Wennie V. Lagmay wrote:
I was able to balance my connection to two ISP using iproute2 advance
routing, My proxy server has 3 NIC card, 1st to ISP1 the 2nd to ISP2 and
the
3rd internal, now my question is how am i going to define to squid that
there are two parent proxy, (proxy.ISP1 and proxy.ISP2)  and how squid
can
access simultaneously to two proxy?

Did you read squid's config file? I think that enough informations are
provided there.
Read about peer servers and cache hierarchy, you can find it also here:
http://squid.visolve.com/squid/squid24s1/neighbour.htm
--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux