[squid-users] Muitple ISP client hashing

Lee Brown leeb at ratnaling.org
Sat Sep 5 02:20:41 UTC 2015


Hello,

I have multiple ISP's configured, working really nicely, snippet from
config:

acl service_RLO src 10.1.10.175/32
acl service_RLG src 10.1.10.0/24
acl service_RLG src 10.1.200.0/24
acl service_Guest src 10.1.3.0/24
[cut]
tcp_outgoing_address 10.1.248.1 service_RLO
tcp_outgoing_address 10.1.248.2 service_RLG
tcp_outgoing_address 10.1.248.4 service_Pst
tcp_outgoing_address 10.1.248.5 service_Library
tcp_outgoing_address 10.1.248.6 service_DP
tcp_outgoing_address 10.1.248.3 service_Guest

I would like to add a new ISP and round-robin the src mapping to
tcp_outgoing_address, such that, for example in the above service_RLG, I am
looking to say, semantically:

tcp_outgoing_address 10.1.248.2, 10.1.248.9 service_RLG

Where the first IP matching service_RLG maps to 10.1.248.2, the next,
different IP matching service_RLG maps to 10.1.248.9, etc.

I am not trying to split a single client over two ISP's, that can't work.

I cannot see that this is possible with Squid (3.1.10), which BTW is in
transparent proxy mode.

I can't load balance the traffic out of Squid, for the above reason.

I suppose I could hash the src ip to deliver traffic to two different ports
in Squid, then use the port as the basis for the tcp_outgoing.  I feel this
is sub-optimal though as two users may end up on a single ISP with the
other ISP idle.

Any thoughts?

Thanks --lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150904/8245b75a/attachment.html>


More information about the squid-users mailing list