LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LB type NAT with LVS-IP and real server IPs in the same netw

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] LB type NAT with LVS-IP and real server IPs in the same network?
From: "Hildegard Meier" <daku8938@xxxxxx>
Date: Tue, 7 Apr 2020 12:23:18 +0200
Hello,

is it possilbe to have a Load Balancer type NAT config where the LVS Virtual 
Server IP and the real servers are in the same network?
(in this case 10.0.0.0/24)

Load balancer(keepalived) Host-IP:   192.168.2.1

LVS-IP (keepalived resource, can move to backup keepalived node): 10.0.0.2
Gateway-IP (keepalived resource, can move to backup keepalived node): 10.0.0.3

Real Server 1 IP: 10.0.0.11
Real Server 2 IP: 10.0.0.12

with the real servers having 10.0.0.3 as default gateway?

E.g. here is written:
"NAT requires both an external (public) and internal (private) subnet"
Source:
https://www.loadbalancer.org/blog/load-balancing-via-direct-routing-has-several-key-advantages-over-nat-based-methods/

Best regards

_______________________________________________
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>
  • [lvs-users] LB type NAT with LVS-IP and real server IPs in the same network?, Hildegard Meier <=