Solved

SQUID with multiple gateways

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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…

831 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