On Wed, May 21, 2003 at 04:50:38PM +0800, Aihua Liu wrote:
> Hi,
> I want to use LVS-NAT mode. But I don't want to set LVS Director as
> the default gateway.
>
> Can I modify both source IP and destination IP addresses at the
> Director? If yes, How can I do it? And anyone has other methods to
> resolve this please help me. Thank you
Hi,
I think that this is theoretically possible if you also
have the real servers rewrite the source address of reply
packets as the VIP.
However, you are probably a lot better off to just use LVS-DR.
It allows the (actually requires) the return path to the
real servers not to go through the Linux Director.
--
Horms
|