LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] would this configuration work for lvs-dr?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] would this configuration work for lvs-dr?
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Sun, 06 Jan 2008 22:17:47 +0000
On Sun, 2008-01-06 at 17:06 -0500, William Ottley wrote:
> I think you are right, I will try and go back to basics: so maybe I
> can ask you this simple question then. What is the best way to go,
> when I can't have the client finding out the real server IP.

Let me say it again: it won't.

The client connects to the VIP. If the realserver responds from its' own
IP address, then the client connection will fail. The realserver is
configured with the VIP, and the packet path for DR is as follows:

Client sends packet to VIP. It hits the director. Director routes packet
to VIP on a realserver. Realserver responds from VIP to client.

That's it. The realserver *is* responding directly BUT it responds from
the VIP, not its' own IP address.

Got that now?

Graeme



<Prev in Thread] Current Thread [Next in Thread>