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?
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?