Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Squid Load Balancing between two Internet Links

Posted on 2010-09-17
8
Medium Priority
?
1,311 Views
Last Modified: 2013-12-06
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?

0
Comment
Question by:williamwlk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 6

Expert Comment

by:Jelcin
ID: 33704241
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.
0
 

Author Comment

by:williamwlk
ID: 33704296
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
0
 
LVL 6

Accepted Solution

by:
Jelcin earned 1000 total points
ID: 33704310
maybe this could solve your problem?

http://lartc.org/howto/lartc.rpdb.multiple-links.html
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:williamwlk
ID: 33704439
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?


0
 
LVL 6

Expert Comment

by:Jelcin
ID: 33704630
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.
0
 

Author Comment

by:williamwlk
ID: 33704694
ok :)
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 1000 total points
ID: 33707598
as said above squid cant do load balancing of two gateways. Its a just only proxy server.  
i would say pfsense is the best option.
0
 

Author Closing Comment

by:williamwlk
ID: 33817474
We discussed about it.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question