Squid 3 Loadbalance & acl random



  • I read your http://wiki.squid-cache.org/Features/AclRandom wiki page about acl random usage information. Thank you, but i have some questions and i didn't find on the internet any information for it.

    I am trying to understand if i am using 4 wan connection for load balancing, how i can use each modem full speed for loadbalance  ?

    acl fiftyPercent random 0.5

    a random 50% go here

    tcp_outgoing_address 192.0.2.1 fiftyPercent

    the rest go here

    tcp_outgoing_address 192.0.2.2

    I am using in my system and my wan speed for each one is same ;

    acl dualwan random 0.4 
    tcp_outgoing_address 192.168.1.3 dualwan
    tcp_outgoing_address 192.168.4.2 dualwan
    tcp_outgoing_address 192.168.6.2 dualwan
    tcp_outgoing_address 192.168.5.2 dualwan

    Is this configuration correct or if do you have any suggest i can make it ?

    Thank you so much,

    Best Regards,
    SFN


Log in to reply