Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQUID with multiple gateways

Posted on 2003-12-09
2
Medium Priority
?
1,604 Views
Last Modified: 2009-03-25
Our network will soon have 2 ADSL links to the internet. I would like to be able to configure SQUID to use both of these to load-share.

I assume the answer lies in the cache_peer configuration, though I'd like to get sonfirmation that this is going to work. UNtil the second ADSL is installed I can't think of an easy way to test this (and by then it's a bit late to find out it won's work :-)

Q: what are the magic lines?
something like:
      cache_peer adsl1.isp parent 555 555 round-robin no-icmp no-digest weight=2 default
      cache_peer adsl2.isp parent 555 555 round-robin no-icmp no-digest weight=3

Q: what happens if the ADSL reconnects and the GW changes? SQUID restarts take a bit long, can I use a fake address in /etc/hosts?
0
Comment
Question by:sprinkmeier
2 Comments
 
LVL 2

Accepted Solution

by:
asbharadwaj earned 750 total points
ID: 9910344
Hi
What you have written is right though there might be more options that need to be
added depending on your requirement
For a complete list and explanation of all the available configuration directives,
refer the squid configuration manual at http://squid.visolve.com/
0
 
LVL 2

Author Comment

by:sprinkmeier
ID: 10558754
asbharadwaj,

sorry this took so long, the project was shelved and is now likley to be canned anyway.

The ref you gave me looks good. Should come in handy if the project is resurected.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

772 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