Hi Alex, Ivan,
I finally found time to change/test the squid config to load balance on
outgoing IPs, and thanks you very much it works very good. All traffic
is not output according to the rules to the right IPs.
Other question I will open a new thread.
Many many thanks.
Patrick
Le
On 02/22/2018 02:52 PM, Ivan Larionov wrote:
> Your balancing rules are incorrect. This is how we balance 30% per IP:
You won the race! Perhaps our similar emails will increase the page rank
of the correct answers to this FAQ. :-).
Alex.
___
On 02/22/2018 11:15 AM, Patrick Chemla wrote:
> acl Percent001 random 1/5
> acl Percent002 random 1/5
> acl Percent003 random 1/5
> acl Percent004 random 1/5
> acl Percent005 random 1/5
It is trivial to google up wrong configurations. Think about it: Giving
the same "random 1/5" ACL five
Your balancing rules are incorrect. This is how we balance 30% per IP:
# 33% of traffic per local IP
acl third random 1/3
acl half random 1/2
tcp_outgoing_address X.X.X.2 third
tcp_outgoing_address X.X.X.3 half
tcp_outgoing_address X.X.X.4
Read https://wiki.squid-cache.org/Features/AclRandom.
Hi,
I have googled for days and can't find the right settings to distribut
outgoing requests over part on local IPs of my server.
This is my conf I built according to what I found on docs and forums:
Squid Cache: Version 4.0.17
blablabla
blablabla
blablabla