LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: I can see the real server but it can't see me...

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: I can see the real server but it can't see me...
From: ken price <kprice75@xxxxxxxxx>
Date: Thu, 21 Aug 2003 09:35:17 -0700 (PDT)
You're absolutely correct in manually setting up
masquerading on the director.  It's not handled by
LVS/Keepalived.

-Ken

--- Andy Harding <andy.harding@xxxxxxxxxxxxxxxxxx>
wrote:
> Hi
> 
> This is the first time I have posted so go easy on
> me please :)
> 
> I have a question about my LVS setup...
> 
> 1 Director running:
> - RedHat 9 with a new 2.4.21 Kernel with the IPVS
> patch
> - Keepalived
> 
> 1 Real Server running:
> - Standard RedHat 9
> - Apache
> 
> The purpose of this setup is to test an LVS cluster
> on my private network.
> This will then be expanded to 2 directors and 2 real
> servers to provide
> total redundancy for a clients website.
> 
> ---------------
> |   Client    |
> | (My Laptop) |
> |192.168.1.100|
> ---------------
>        |
> ----------------
> | 192.168.1.50 | < Virtual IP 192.168.1.250
> |   Director   |
> | 192.168.2.50 | < Virtual IP 192.168.2.250
> ----------------
>        |
> ---------------
> | 192.168.2.1 |
> | Real Server |
> ---------------
> 
> I have the director setup with 1 virtual server
> (192.168.1.250:80 =>
> 192.168.2.1:80) and the real server uses
> 192.168.2.250 as it's default
> gateway.
> 
> If I go to http://192.168.1.250/ with my browser on
> the laptop I see the
> http server on the real server and as far as I can
> tell my LVS setup is
> working perfectly for incoming traffic.
> 
> The problem is that if I try to ping 192.168.1.100
> (My Laptop) from the
> real server a whole lot of nothing happens (no route
> to host).
> 
> I have solved the problem by setting up IP
> masquerading on the director
> but I am unsure if this is the correct way to do it
> or weather the
> director should provide a gateway by default for
> real servers.
> 
> Any comments would be much appreciated.
> 
> Thanks
> 
> Andy Harding
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
http://www.in-addr.de/mailman/listinfo/lvs-users


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>