0

I need to load balance a number of SQUID proxies configured in transparent mode. Below is a simple diagram with one LB and SQUID boxes.

               ----------
               | Client |
               ----------
                   | *.1.100
                   |
                   v
net C ====================================== 
            ^ LB VIP=*.1.1      ^
            |                   |
            | *.1.10            | *.1.50
        ----------       ----------------
        |   LB   |       | SQUID tproxy |
        ----------       ----------------
                                | *.6.50
                                |
                                v
net S ======================================
                   ^
                   |
                   | *.6.200
            ---------------
            | HTTP server |
            ---------------

The client is able to access the web server when there is no LB by adding static route which uses SQUID tproxy IP as a gateway. When I add LB things break. The LB is configured in DR mode (this is a requirement). I can not figure out how to configure it so that it works. Any help would be appreciated.

womble
  • 96,255
  • 29
  • 175
  • 230
faraway
  • 1
  • 3
  • On the Real server you need the VIP IP configured on an interface, preferably loopback. Also for DR to work they LB and Squids have to be in the same broadcast domain, which from the diagram is not clear but from IPs I am assuming it is the case. – Sameer Feb 12 '15 at 22:47
  • I did all that. This setup works if SQUID is setup as a forward/reverse proxy. Transparency is probably the problem here. The question is if it is even possible to have load balanced transparent SQUID proxies? – faraway Feb 25 '15 at 08:11
  • "The question is if it is even possible to have load balanced transparent SQUID proxies?" - Any luck here? – Brandon Jul 18 '19 at 17:54

0 Answers0