LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problem with RedHat 6.2 + VS 0.9.7

To: "Linux Virtual Server" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Problem with RedHat 6.2 + VS 0.9.7
From: "Nguyen Dang Phuoc Dong" <dongnd@xxxxxxxxxxxx>
Date: Fri, 21 Jul 2000 10:10:00 +0700
Hello all,

I'm new on this list and very interested in VS project.
I've just set up a private network and I feel tired of getting it to work.

My network diagram is as follow:

                               --------------------
                               |      Client       |
                               --------------------
                                           | 10.0.0.2
                                           |
                                           | external interface (eth1):
10.0.0.1
                               --------------------
                               |     Director    |
                               --------------------
                                           | internal interface (eth0):
172.16.0.1
                                           |
                                           |
                                           | 172.16.0.2
                               --------------------
                               |  RealServer  |
                               --------------------

The director box is running RedHat 6.2.
The real server and the client are running RedHat 6.2 too.

* The client default gateway: 10.0.0.1
* The realserver default gateway: 172.16.0.1

* The director box configuration:

    + /etc/sysconfig/network:
        -FORWARD_IPV4="yes"
        -DEFRAG_IPV4="yes"

    + IPCHAINS (works fine, I can telnet from the real server to the client)
        - ipchains -A forward -s 172.16.0.0/16 -d 0.0.0.0/0 -j MASQ

     + IPVSADM (I intend to use VS_NAT, WLC)
        - ipvsadm -A -t 10.0.0.1:23 -s wlc
        - ipvsadm -a -t 10.0.0.1:23 -r 172.16.0.2:23 -m

And here are the results (on the director box):

    + lsmod
     Module            Size        Used        by
     ip_vs_wlc        1040        1            (autoclean)
     ...

    + ipvsadm -L

    IP Virtual Server version 0.9.7 (size = 4096)
    Prot LocalAddress:Port Scheduler Flags
             -->RemoteAddress:Port Forward Weight ActiveConn InActConn
    TCP 0A000001:0017 wlc
            -->00000000:0100 Masq 0 0 0

So I always get timeout when telnet from the Client (10.0.0.2) to the real
server (172.16.0.2, via VIP 10.0.0.1)

Any help would be very appreciated. Thanks in advance.

Regards,

Dong







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