LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: having trouble with load balancing

To: Justin Georgeson <jgeorgeson@xxxxxxxxxxxxxxx>
Subject: Re: having trouble with load balancing
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 13 Nov 2002 00:20:34 +0200 (EET)
        Hello,

Justin Georgeson wrote:

> yes. each of eth0:1-13 has a unique private IP. Here's where it gets
> fun. I don't actually have enough machines to fill each uniquely, so
> plenty of the private machines also have aliased interfaces. The two
> real servers in question (192.168.10.17 and 18) are separate interfaces
> (not aliases, but eth0 and eth1) on the same machine. Before you ask why
> I would want to do this. I'm working on a proof of concept and don't
> have the resources to spread it all out properly, and this is actually
> an intended production scenario for the customer.

        The problem is may be that you are using 2 devices for
one subnet. For many users it looks like a natural way to have
redundant setups. Wrong. Especially when rp_filter is 1 on these
interfaces.

        IMO, the problem is may be in your RS. Just show us some
settings:

- which interface is used for default route in RS

- how rp_filter is set for eth0 and eth1 in RS:

        cat /proc/sys/net/ipv4/conf/eth0/rp_filter
        cat /proc/sys/net/ipv4/conf/eth1/rp_filter

        Just make a tcpdump and check whether packets to
~.18 appear on eth0 (not on eth1 as expected). Or just make
~.18 alias on eth0.

Regards

--
Julian Anastasov <ja@xxxxxx>



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