LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2006, 03:55 PM   #1
htb
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, 03:10 AM   #2
Notwerk
Member
 
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:
Code:
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:
Code:
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.
 
  


Reply


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 03:29 PM
2 routers? Buckyjunior Linux - Networking 5 08-15-2004 05:34 PM
routers help please? indy317 Linux - Networking 4 07-14-2003 02:11 PM
Routers... bac()n Linux - Newbie 3 03-29-2003 12:26 AM
routers jiplen Linux - Networking 5 09-02-2001 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 PM.

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