LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Gateway between CIP and VIP on LVS-NAT.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Gateway between CIP and VIP on LVS-NAT.
From: "Carlos J. Ramos" <cjramos@xxxxxxxxxx>
Date: Thu, 28 Feb 2002 10:43:58 +0100
Joseph Mack wrote:
Wayne wrote:

When you do NAT, you front IP address and real server
IP address can not be in the same network.

Actually you can now.

http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-12.html#ss12.12

Joe


As I said, yes i can do this.
The problem is that there is a gateway between the CIP and VIP, CIP(10.253.3.216) it is not in the same network that VIP(10.253.65.18), but the CIP needs to go through a gateway (10.253.65.3 & 10.253.3.200), and this gateway it is in the same network of the VIP.

So using the information of this URL ...O/LVS-HOWTO-12.html#ss12.12 , I can do request from the gateway (acting as the CIP) to the VIP. But not from the computer that has to be the CIP: doctor, in the other side of the gateway...



Doctor-------------------Gateway----------------Director
eth1  10.253.3.216(CIP)  eth0   public IP       eth0   public IP
eth2  public IP          eth1   10.253.65.3     eth0:1 10.132.67.194
                         eth1:0 10.253.3.200    eth1   10.253.65.18(VIP)
                                                    |
      /----------------------|-----------------|----/
     |                       |                 |
RealServer1            RealServer2             Realserver3
eth0 10.253.65.7(RIP1) eth0 10.253.65.8(RIP2)  eth0 10.253.65.9(RIP3)



Thanks a lot.

--
--------------------------------------------------------
Carlos J. Ramos                 Genasys II Spain, S.A.U.
Administrador de Sistemas       Ventura de la Vega 5
Tel:+34-91-3649100 ext 170      28014 Madrid
Fax:+34-91-3649119 Spain
Email:  cjramos@xxxxxxxxxx
--------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>