Hi Amos, i really need your help (Thanks a lot for your time and collaboration).

I´m testing with 3 parents and this config.

cache_peer 10.0.0.3 parent 8080 3130 no-query sourcehash
cache_peer 10.0.0.4 parent 8080 3130 no-query sourcehash 
cache_peer 10.0.0.5 parent 8080 3130 no-query sourcehash

acl network1 src 192.168.0.0/24
acl network2 src 192.168.1.0/24
acl network3 src 192.168.3.0/24

never_direct allow network1
never_direct allow network2
never_direct allow network3

How sourcehash distribute (load balance) the connected ips to parents ?

Jorge.





-----Mensaje original-----
De: Amos Jeffries [mailto:squ...@treenet.co.nz] 
Enviado el: miércoles, 08 de junio de 2011 10:14 p.m.
Para: squid-users@squid-cache.org
Asunto: RE: [squid-users] help with acl src and par or impar ip (odd number or 
even number i think.).

 On Wed, 8 Jun 2011 20:02:20 -0300, Soporte Técnico wrote:
> Hi Amos, thanks for the help, two question:
>
> acl even src 192.168.0.0/0.0.0.1
>
> would work ?

 No. Client IPv4 with first 31 bits erased to zero will not match 
 192.168.*

>
> There´s any detailed information about sourcehash ? I tested before
> round-robing with no good results for my network, I looked into 
> google
> and squid wiki and I can´t find detailed information for sourcehash.

 Not much. This is pretty much all there is to say about it.
 http://wiki.squid-cache.org/Features/LoadBalance

 Amos



Reply via email to