LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Newbie: problem with stupid configuration..

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Newbie: problem with stupid configuration..
From: Szymon Jakub Oterski <oterski@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 May 2000 12:49:38 +0000
Hi,

I'm trying to build up a LVS, but something got wrong. first i try to
draw the situations:

how it is now.. or how it was befor i've touched it...


        Internet
              |
              |
              |
        Router (IP: 195.212.95.129) routes 195.212.95.140,
195.212.67.138 and 195.212.67.139 into the LAN.
              |
              |
              |
HUB    ----------------------------------------------------------->
local PCs

|
|                                                        |

|
|                                                        |

|
|                                                        |
        (195.212.67.138/25)
(195.212.67.139/25)                        (195.212.95.140/25)
                NT-host
NT-host                                            Linux
                (1. http)                                        (2.
http)                                         (nothing yet)


what i dreaming it look like in the future:


        Internet
              |
              |
              |
        Router (IP: 195.212.95.129) routes 195.212.95.140,
195.212.67.138 and 195.212.67.139 into the LAN.
              |
              |
              |
              | ( eth0 = 195.212.95.140 )
              | ( eth0:0 = 195.212.67.138 (LVS 1))
              | ( eth0:1 = 195.212.67.139 (LVS 2))
      Linux host 1
              | ( eth1 = 10.1.1.1 )
              |
              |
HUB    ----------------------------------------------------------->
local PCs

|
|                                                        |

|
|                                                        |

|
|                                                        |
             (10.1.1.2/24)
(10.1.1.3/24)                                    (10.1.1.4/24)
               NT-host 1                                   NT-host
2                                       Linux host 2
                (1. http)                                        (2.
http)                                            (1. http)
            serves LVS 1                                serves LVS
2                               serves soon LVS 1, too

As you can see, the requests come onto the 195.212.67.x network, but the
gateway to the internet is on the 195.212.95.x network.
The Linux host 1 shall act as a gateway for the local PCs and as LVS on
the two 195.212.67.x IPs.
for now i'm trying to route al the requests on 195.212.67.139:80 to
10.1.1.3:80. I've used the configure.pl script with a modified
lvs_nat.conf to start the program, but something is wrong and I don't
know what..
the Linux host 1 is based on SuSE 6.3 Linux with a 2.2.15 kernel (from
ftp.kernel.org, not suse!) patches with lvs-2.2.15-0.9.12 .
ehte NICs are all working, routes are set to folowing NETs: 10.1.1.0,
195.212.95.0, 195.212.67,0 and default via gw195.212.95.129.
ipchains allows forwarding from 10.1.1.0 to everywhere on all ports over
MASQ.
so far so good.

Now, when a http request comes from a client on 195.212.67.139:80 iptraf
says, that a connection is made to 10.1.1.3, and the masq table says,
that there is traffic from 10.1.1.3 to the client, git the client
doesn't get a reply.
Does anyone know, what configurations i have to do?
Does anyone got LVS running on a SuSE system?

And finaly, is this program able to handle more than in IP?

I hope someone can help me.
THX.

Simon

PS:
i've asked some people in the IRCnet (german channel) but I'm the third
person in the whole chat, who has heard about this project.. ;-)




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