LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipvs or apache/mod_proxy/mod_balancer

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ipvs or apache/mod_proxy/mod_balancer
From: "L.S. Keijser" <leon@xxxxxxxx>
Date: Mon, 29 Jun 2009 21:16:35 +0200
On Wed, 2009-06-24 at 07:41 -0700, Olaf Krische wrote:
> A) IPVS behaves like mod_proxy, the chosen Member will see a request coming
> from the LoadBalancer's LAN-IP.
> 
> Bad: I lose the client IP on the Member/real server (in mod_proxy i have at
> least "X-Forwarded-For")

No you don't. LVS-DR (i assume this is what you mean, judging by your
option B's 'Bad' description) just forwards the packet to a realserver.
This sees the request as if the packet would come straight from the
client (eg. not through LVS; it's completely transparent). It will send
the reply back straight to the client.

regards,

-- 
Léon


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>