LinuxQuestions.org
Review your favorite Linux distribution.
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 04-30-2001, 07:01 AM   #1
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30

Hi All Members ,

Iam running Squid as my Proxy Server on RedHat 6.2 Box.
I have Two Network Interface card each of which is
connected to two Zxycel ISDN Routers.

How Can i make Squid Listen on each of the Two Network Interface ?

Does anybody Know how to do it ?

All help appreciated.

Thanks a lot in advance.

With Regards ,

Xanthium
 
Old 04-30-2001, 07:54 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
I don't think you can do this easily on one system, or more then one for that mater, your getting into the difficult world of load balanced cluster servers now.

Anyway here's a suggestion if your really really like extra work.
--- extract from squids user manual ---

DNS or CARP load balancing will allow you to split the load between two (or more) machines.
DNS load balancing is the simplest option: In your DNS file, you simply add two A records for the cache's hostname The order that the DNS server returns the names in is continuously, randomly switched, and the client requesting the lookup will connect to a random server.
These server machines can be setup to communicate with one-another as peers. By using the proxy-only option, you reduce duplication of objects between the machines.
There are other load-balancing options. If you have client caches accessing the overloaded server (rather than client pcs), you can configure Squid on these machines with the round-robin option on the cache_peer lines. You could also use the CARP (Cache Array Routing Protocol) to split the load unevenly (if you have one very powerful machine and two less powerful machines, you can use CARP to load the fast cache twice as much as the other machines).

/raz


 
  


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 can listen in 2 different Ips xrtc Linux - Networking 1 11-15-2005 01:32 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM
web interface for squid? veritas Linux - Software 2 11-04-2004 05:10 PM
how can i set apache httpd to listen to interface tun0 ? kublador Linux - Software 1 08-31-2004 11:14 PM
X11 server to listen on single configured interface kailesmith Linux - Networking 0 08-09-2003 06:05 PM

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

All times are GMT -5. The time now is 08:43 AM.

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