[lvs-users] about NAT return path

Ivan Havlicek ivan at modulix.org
Mon Feb 2 08:59:45 GMT 2015


No, if a transaction start via LVS host A, the realserver need to use
this host as gateway to respond.
This is the normal for a NAT.
To make it work, you can use some SNAT rules on each LVS host to try to
enable this.
In this case each realserver will use the right LVS host while
responding to the client.
Real server will use A or B as default gateway while responding...
                            Ivan Havlicek

Le 02/02/2015 08:47, Yonghua Peng a écrit :
> Sorry for the less info.
> I meant, all the LVS hosts have the same VIP (managed by OSPF).
> And their configure are exactly the same.
> Yonghua Peng wrote:
>> We have a group of hosts for LVS NAT, they are exactly with the same
>> configure.
>> My question is, when the incoming package is from LVS host A to
>> realserver, but the returned package is going through from LVS host B to
>> the client, can this work well?
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

More information about the lvs-users mailing list