Solved

SQUID with multiple gateways

Posted on 2003-12-09
2
1,586 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 250 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now