Solved

SQUID with multiple gateways

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

22 Experts available now in Live!

Get 1:1 Help Now