LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: can't connect to VIP.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: can't connect to VIP.
From: djamil <djamil@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Oct 2001 12:04:34 +0000
I see that this thread is active !

i was wondering if anyone got my message about setting up a LVS thru ip 
tunelling ?


Respectuously, Djamil.


On Wed, 10 Oct 2001 15:37:43 -0500
"Irving I. Lopez C." <xTamarindo@xxxxxxxxxxxx> wrote:

> More Info...
> 
> #uname -a
> Linux irving 2.2.19 #2 Tue Oct 9 16:44:56 EST 2001 i686 unknown
> 
> #ipvsadm -L -n | head -1
> IP Virtual Server version 1.0.8 (size=4096)
> 
> #ipvsadm -h | head -1
> ipvsadm  v1.7 1999/11/28
> 
> #ipvsadm -L
> Chain input (policy ACCEPT):
> Chain forward (policy ACCEPT):
> target     prot opt     source                destination           ports
> MASQ       all  ------  10.1.1.0/24          anywhere              n/a
> MASQ       all  ------  10.1.1.0/24          anywhere              n/a
> Chain output (policy ACCEPT):
> 
> 
> 
> That is i'm trying to do:
>                          ________
>                         |        |
>                         | client |
>                         |________|
>                             | CIP
>                             |
>                             |
>                             |
>                             |       __________
>                             |  DIP |          |
>                             +------+ director |
>                             |  VIP |__________|
>                             |
>                             |
>                             |
>           +-----------------+----------------+
>           |                 |                |
>           |                 |                |
>       RIP1, VIP         RIP2, VIP        RIP3, VIP
>      ____________      ____________    ____________
>     |            |    |            |  |            |
>     |realserver1|    |realserver2|  |realserver3|
>     |____________|    |____________|  |____________|
> 
> 
> The /etc/lvs.cf file
> 
> 
> 
> ##########################################
> primary = 192.168.21.174
> keepalive = 2
> deadtime = 10
> heartbeat_port = 1050
> rsh_command = rsh
> network = nat
> nat_router = 10.1.1.100 eth1:1
> service = lvs
> ##########################################
> virtual virtualserver {
>       address = 192.168.21.120 eth0:1
>       active = 1
>       port = 21
>       load_monitor = uptime
>       timeout = 10
>       reentry = 180
>       scheduler = wlc
>       
> 
>       server real1 {
>               address = 10.1.1.1
>               active = 1
>               weight = 20000
>       }
> }
> 
> 
> When i try to connect from the CIP i received a 'connection refused' 
> message from DIP box where the service is not running and not the ftp 
> login prompt from the real server.
> 
> ...and the ftpd is up and running in the realserver1  !!!
> 
> 
> I'm trying to say people in Panama that Linux is a good choice, please 
> help me.
> 
> 
> 
> mack.joseph@xxxxxxx wrote:
> 
> > "Irving I. Lopez C." wrote:
> > 
> >>I'm building an ftp lvs in a box with rh 6.2 and a 2.2.19 Kernel patched
> >>with ipvs-1.0.8-2.2.19.  Aparently all conf are ok but, when i try to
> >>connect from a CIP the connection are established to VIP box and not to
> >>the RIP.
> >>
> > 
> > 
> > http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-26.html#ss26.1
> > 
> > Joe
> > 
> 
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 


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