SQUID with multiple gateways

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?
LVL 2
sprinkmeierAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

asbharadwajCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sprinkmeierAuthor Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.