LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problem with Direct Routing (fwd)

To: linux-virtualserver@xxxxxxxxxxxx
Subject: Problem with Direct Routing (fwd)
From: deon@xxxxxxxxxxxxxx
Date: Wed, 15 Sep 1999 10:51:34 +0200 (SAST)

---------- Forwarded message ----------
Date: Wed, 15 Sep 1999 08:58:11 +0200 (SAST)
From: deon@xxxxxxxxxxxxxx

Hi, I am trying to create a 2 system Virtual server. My configuration is
as follows:

        Router to Internet
                |
                |
        -------------------
        |                 |
        |     Hub         |
        |                 |
        -------------------
         |               |
         |               |
    ----------       -------------
   | Director |     | Real Server |
   |  D1      |     |   D2        |
   -----------      ---------------

Details:
 Kernel 2.2.10 (with vs patch)
Configuration: D1
eth0: 72.200.100.3
eth0:0 72.200.100.2  (Virtual IP)
ipvsadm -A -t 72.200.100.2:80 rr
ipvsadm -a -t 72.200.100.2:80 -R 72.200.100.4 -g
ipvsadm -a -t 72.200.100.2:80 -R 127.0.0.1

Configuration: D2
eth0: 72.200.100.4
lo:0 72.200.100.2

On both systems the default gateway is set to the router ip
(72.200.100.20)

Problem:
When I request service from the virtual ip (72.200.100.2), I only get
response for the first time (D1), the second time I get timeout (D2?)

I can ping D1 from the router side, but not D2. When I look at the arp
table I get D2 <incomplete>. I can ping out from D2 to the router and to
D1. 
It seems that the MAC address gets corrupted when D2 replies.

Any sugestions ??

Deon Stoltz
 



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