Link to home
Start Free TrialLog in
Avatar of williamwlk
williamwlk

asked on

Squid Load Balancing between two Internet Links

Hi,
                       |--------------ADSL2
Internet --------                   Squid Proxy --------- LAN
                       |--------------ADSL1

I have a multihomed server 2 Network Interface for ADSL1 and ADSL2. And the other one for LAN.

Squid is implemented on the server.

How can Squid load balance between ADSL1 and ADSL2 for LAN?

Avatar of Josef Pospisil
Josef Pospisil
Flag of Germany image

Hi Squid is no load balancer it's a caching Proxy. You can not load balance DSL lines. But you could load balance WEB servers with for example Round Robin Scheduling.
Avatar of williamwlk
williamwlk

ASKER

Yes, I know.
The scenario is if client A connects, it uses ADSL1 Internet. if client B connects, it uses ADSL2 Internet.

If I have cache_peer, i'd have used it :

cache_peer proxy1.server.com sibling 3128
 cache_peer proxy2.server.com sibling 3128
 cache_peer proxy3.server.com sibling 3128
 


But, I don't have cache_peer and caching the Internet directly. So, I wonder how.

W
ASKER CERTIFIED SOLUTION
Avatar of Josef Pospisil
Josef Pospisil
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
http://doc.pfsense.org/index.php/Multi_WAN_/_Load_Balancing

Yeah we have pfsense too.

but can caching be done in that fashion in squid?


Afaik there is no option in squid to choose between two links and act as a standalone load balancer for it.
What should be possible is a scenario where squid caches requests from both of the lines. But you have to setup the ip route thingie.
ok :)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We discussed about it.