LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problems setting up LVS-NAT

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Problems setting up LVS-NAT
From: "Adam: Kurzawa" <adam@xxxxxxxxxxxxx>
Date: Fri, 2 Nov 2001 21:34:13 -0500
Hi,

I have this problem with packet somehow disappearing from on the LVS
machine
while in transit from a real server back to the client.

I followed the HOWTO (MANY times) to try to find the problem, I think my
problem is that all packets from the server are dropped on the way back
from the real server, same as this Q&A below.

The solution is however, much more difficult, my "rp_filter" is set at 0
on ALL
interfaces... and the iptables firewall is set to ACCEPT all packets on
all
tables and chains.

I must have spent over 2 days trying to figure it out, and I am really
stuck now.

Someone here must know where I should look for the problem.  Thanks.

Kind regards,
Adam: Kurzawa

==========================
Q.3 Is the traffic forwarded from the LVS box, in both directions?

        For all interfaces on director:
        tcpdump -ln host CLIENT_IP

        The right sequence, i.e. the IP addresses and ports on each
        step (the reversed for the in->out direction are not shown):

        CLIENT
           | CIP:CPORT -> VIP:VPORT
           |            ||
           |            \/
 out       | CIP:CPORT -> VIP:VPORT
 ||     LVS box
 \/        | CIP:CPORT -> RIP:RPORT
 in        |            ||
           |            \/
           | CIP:CPORT -> RIP:RPORT
           +
        REAL SERVER

A.4 All packets from the client are dropped

        - the requests are received on wrong interface with rp_filter
        protection
        - firewall rules drop the requests





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