LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: G V <gvlinux@xxxxxxxxx>, "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Can I have public interface also on my real server with LVS NAT configuration?
From: Vyacheslav Trushkin <dogonthesun@xxxxxxxxx>
Date: Tue, 20 Sep 2011 06:26:08 +0400
Hi G,

Director doesn't know about addresses which you add on RS (eth1) and
RS doesn't know about the VIP with LVS NAT. So you should inspect your
configuration on RS more strictly. Look at the routing table on real
server after your adding IP-address on RS.

2011/9/20 G V <gvlinux@xxxxxxxxx>:
> 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
>

_______________________________________________
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>