[lvs-users] about NAT return path
support at remsnet.de
support at remsnet.de
Sun Feb 22 09:01:07 GMT 2015
Hello Yonghua Peng,
AS per LVS-NAT concept the realservers are allmost at an second network( rfc1912 ipaddresses allmost ):
haveing i.e net 126.96.36.199 on lb1 at eth0
haveing i.e net 192.168.1.1 on lb1 at eth1
external VIP i.e : 188.8.131.52
haveing i.e net 184.108.40.206 on lb1 at eth1
haveing i.e net 192.168.1.2 on lb2 at eth1
and the VI_GATEWAY on eth1 with i.e : 192.168.1.3
VI_GATEWAY are managed by ldirectord or keepalived or other HA IPVS app.
VI_GATEWAY with keepalived managed by vrrp
keealive docu : http://www.keepalived.org/LVS-NAT-Keepalived-HOWTO.html
Make shure implement nonlocalbinds sys-ctl on realservers.
make shure implement ip forward and nonlocalbinds on LB´s
AS per LVS-DR concept the realservers can be in the same or different networks and not require any NAT
LVS DR uses the standard default gw allmost with rarp
Mit freundlichen Grüßen / Best Regards
Horst Venzke ; PGP NET : 1024G/082F2E6D ; http://www.remsnet.de
Legal Notice: This transmittal and/or attachments may be privileged or confidential. It is intended solely for the addressee named above. Any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.
> Gesendet: Montag, 02. Februar 2015 um 11:42 Uhr
> Von: "Yonghua Peng" <yhpeng at orange.fr>
> An: lvs-users at linuxvirtualserver.org
> Betreff: Re: [lvs-users] about NAT return path
> So, since LVS (NAT mode) implement SNAT for the returned packages, and
> all LVS hosts have the same VIP, and all LVS hosts have been configured
> with the same rules, now for the realserver, it can pickup any one of
> the LVS hosts as its default gw. Am I right?
> Martin Wheldon wrote:
> > The SNAT could be configured on either the LVS node or the real server.
> > Best Regards
> Please read the documentation before posting - it's available at:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 929 bytes
Desc: not available
Url : http://lists.graemef.net/pipermail/lvs-users/attachments/20150222/b51d4e0b/attachment.vcf
More information about the lvs-users