LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-14-2005, 08:57 AM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
configure squid with lvs------------------


We are a group of students working on Linux virtualserver (LVS) project.We want to implement Squid services through LVS.We had implemented already Mailservers through LVS.We are facing some problems on configuring LVS with squid.Kindly spare some time to solve our problem:
We are using LVS with two ethernet cards( eth0 ,eth1) and one Realserver (working as squid ) having one ethernet card . We are using two networks .One with LVS eth0 and clients side .And other with
LVS eth1 and realserver side.We are using LVS-NAT method. We are giving an example:-

LVS---------------10.11.151.24 eth0 ( Clients side interface )
LVS---------------10.11.150.98 eth1 (realserver side interface)
Realserver1-----10.11.150.82 eth0 (squid server)
Client side--------10.11.151.93 eth0
The default gateway of Realserver is 10.11.150.98 (i.e. LVS eth1).

Without LVS Squid is working fine.With LVS if we Schedule the clients
internet requests to be forwarded to Realserver(squid) as follows
:
ipvsadm -A -t 10.11.151.24 -s wlc
ipvsadm -a -t 10.11.151.24:80 -r 10.11.150.82:3128 -m
But the problem is the client internet request (as per above scheduling) should goto squid(10.11.150.82).But squid itself is not capable of serving internet requests.It has to contact with some webserver ( e.g. yahoo.com) .The default gateway of Squid is LVS eth1.So, Squid has to goto internet through LVS only.Then What exactly should we write in the LVS server and Realserver so that the client requests should be served properly.

Last edited by pal; 02-14-2005 at 08:59 AM.
 
  


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
how to configure squid lzakir Debian 1 07-06-2005 01:22 PM
still not able to configure the squid Faizan Linux - Networking 4 05-06-2005 11:04 PM
To configure squid neophyte_linux Linux - Newbie 1 04-05-2005 04:50 PM
high availability squid without LVS--------- pal Linux - Networking 0 02-17-2005 10:05 AM
squid with LVS-------------------- pal Linux - Networking 8 02-13-2005 04:32 AM

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

All times are GMT -5. The time now is 10:14 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