LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: packets being sent out from the wrong ip-adress

To: Matthijs van der Klip <Matthijs.van.der.Klip@xxxxxxxxxxxxxx>
Subject: Re: packets being sent out from the wrong ip-adress
Cc: List - LVS Users <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Mon, 25 Nov 2002 12:18:16 +0200 (EET)
        Hello,

On Fri, 22 Nov 2002, Matthijs van der Klip wrote:

> Nov 22 09:11:27 kaa kernel: IN= OUT=eth0 SRC=192.168.0.1 DST=12.34.56.78
> LEN=1500 TOS=0x00 PREC=0x00 TTL=64 ID=12467 DF PROTO=TCP SPT=80 DPT=6414
> WINDOW=6432 RES=0x00 ACK URGP=0

        Source from 192.168.0.1, it is not clear why this reply
has such source, nobody should change the daddr of the original request
packet, you are using LocalNode method. As for the real servers
you can expect to see such packets in LOCAL_OUT because you have
REDIRECT method:

> I'm using the iptables redirect method:
>
> iptables -t nat -A PREROUTING -i eth1 -p tcp -d $VIP --dport 80 -j
> REDIRECT

        I assume you don't have this rule on the director.

Regards

--
Julian Anastasov <ja@xxxxxx>



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