LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Question about LVS NAT

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Question about LVS NAT
From: Oktay Akbal <oktay.akbal@xxxxxxxx>
Date: Sat, 11 Aug 2001 08:46:10 +0200 (CEST)
The Director needs to be the default gateway for the realserver to
re-rewrite the Packet (in VS_NAT). The would be no sense in changing
the source-address since your logfiles, acl via ip  etc. would be useless.

Oktay


On Fri, 10 Aug 2001, Kim Le wrote:

> Hi all,
>
> I am trying to configure LVS on a single network single NIC using ipvsadm.
>
> ipvsadm -A -t 192.168.0.207:80
> ipvsadm -a -t 192.168.0.207:80 -r 192.168.0.200:80 -m
>
> My Client is 192.168.0.18
>       LVS 192.168.0.207
>       Server 192.168.0.200
>
> When i tried http://192.168.0.207
> I saw the LVS change the destination address to 192.168.0.200 and forward
> the packet but not changing the source IP.  Because of this the server
> response directly to my client and the connection drop.
>
> Is there a way to ask LVS to change the source addr also.  I look into the
> source code and LVS not seem to do that.
> Am I missing anything ?  I appreciate any help.
>
> Kim
>
>
> _______________________________________________
> 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
>

-- 

Oktay Akbal
S-Tec Datenverarbeitung GmbH
Feuerbachstr. 8
68163 Mannheim
Tel: 0621-4185070
Fax: 0621-4185071



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