Mailing List Archive

[lvs-users] LB type NAT with LVS-IP and real server IPs in the same network?
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@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users