Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-23-2006, 02:55 PM   #1
LQ Newbie
Registered: Jul 2006
Distribution: SlackWare/RHEL
Posts: 19

Rep: Reputation: 0
squid on 2 routers

hy, how can i make squid on router1 to use squid on router2 as default proxy/cache, and to use it`s on cache if the router2 goes offline/down ?
Old 07-24-2006, 02:10 AM   #2
Registered: Apr 2005
Location: Jordan
Distribution: Debian (Sarge), Ubuntu (6.06)
Posts: 271

Rep: Reputation: 31
Squid uses "icp_port" to send Internet Cache Protocol requests to neighbouring squid servers. The defualt value is 3130.

Check /etc/squid/squid.conf to include on both routers:
icp_port 3130
In addition, if your ISP provides a cache, you can use it as an "upstream" cache which might reutrn quicker results using:
cache_peer [proxy_ip_if_static_or_name_if_using_DNS]
parent 3128 3130 no-query
Please note that the "no-query" option prevents ICP from running here.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
2 routers? Buckyjunior Linux - Networking 5 08-15-2004 04:34 PM
routers help please? indy317 Linux - Networking 4 07-14-2003 01:11 PM
Routers... bac()n Linux - Newbie 3 03-28-2003 11:26 PM
routers jiplen Linux - Networking 5 09-02-2001 07:45 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration