LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Can I have public interface also on my real server with LVS

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] Can I have public interface also on my real server with LVS NAT configuration?
From: G V <gvlinux@xxxxxxxxx>
Date: Mon, 19 Sep 2011 17:07:16 -0700 (PDT)
Hello,
 
Here is my configuration:
 
/etc/hosts

192.168.1.120   lb1.abcde.com         lb1
192.168.3.120   lbgw.abcde.com       lbgw
192.168.3.121   rs1.abcde.com         rs1
192.168.3.122   rs2.abcde.com         rs2
 
Load Balancer (director)
Hostname  : lb1
Public IP : 192.168.1.120 (eth0 - physical nic1)
Private IP: 192.168.3.120 (eth1 - physical nic3)
 
Real Server1
Hostname  : rs1
IP Address: 192.168.3.121 (eth0 - physical nic3)
Gateway   : 192.168.3.120
 
Real Server2
Hostname  : rs2
IP Address: 192.168.3.122 (eth0 - physical nic3)
Gateway   : 192.168.3.120
 
With this configuration LVS NAT is working fine, but if I add public interface 
say 192.168.1.121(eth1 - physical nic1) on rs1 and 192.168.1.122(eth1 - 
physical nic1) LVS NAT is not working, I need to have public interface on real 
servers to mount NFS share from public network.
 
Any help would be greatly appreciated.  
 
Thanks you.
_______________________________________________
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>