Question about LVS.

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Question about LVS.
From: "Jorge Alberto Gordillo Polo EEM/TM/VT TU-001 Tlf.1748" <Jorge-Alberto.Gordillo-Polo@xxxxxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 10:58:36 +0100
Hi all.I have linux-2.4.2-lvs installed over Red hat 6.0.

#uname -a
Linux eceiolab 2.4.2 #2 SMP Tue Oct 16 11:24:00 CEST 2001 i686

I have problems when trying to stablish tcp connection from
machine to external machine.This is my configuration:

            |         |      VIP=
            | Linux with LVS |
            |__________|     DIP= (eth0:9)
          |               |
          |               |
   RIP1=   RIP2=
    _____________      _____________
   |             |    |
   |             |    |
   |realserver   |    |realserver   |
   |_____________|    |_____________|

The route table has been created in the following way:

echo "
        -A -t -s rr
        -a -t -r -m
        -a -t -r -m
     " | ipvsadm -R
echo "
        -A -t -s rr
        -a -t -r -m
        -a -t -r -m
     " | ipvsadm -R

Then as I told you before we have problems when trying to stablish
Tcp connection from one real server to other machine in external
network.The TCP first packet sended in order to establish TCP
session arrives to external machine ,however the acknowledge
packet doesnt arrive to realserver .Then TCP connection never can
be stablished.
It looks like masquerading is not well done by LVS and source IP
adress is sent with realserver adress instead of VIP adress and
then the packet is lost.
When we try to stablish the TCP connection  just in the reverse
order (from machine in external network to realserver) it works

Could you tell me if this is a bug ?
Are any configuration values wrong in my installation?

Thanks in advance


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