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 13:56:32 +0100
Joseph Mack wrote:
"Carlos J. Ramos" wrote:


Summarising here: you have a one-net LVS-NAT setup which works perfectly - ie
you can get to the LVS'ed services from the gateway just fine and you see the
connections being sent to the various realservers.


Exactly.


But it doesn't work from a machine outside the gateway.

Do you have filter rules on the gateway, can you sent packets between the director and the remote machine?


No, there is no filter rules on the gateway. Now i had put down ldirectord, and started httpd service listening on port 80 over Director.

I had made an http request from the (doctor), the machine outside the gateway, and it works:

[root@doctor bb]# telnet 10.253.65.18 80
Trying 10.253.65.18...
Connected to director.man.cluster (10.253.65.18).
Escape character is '^]'.
GET
Connection closed by foreign host.


you see :(

Joe





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)



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