LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR on Red Hat 7.2: handling ARP, other misc problems.

To: Dan Browning <db@xxxxxxxxx>
Subject: Re: LVS-DR on Red Hat 7.2: handling ARP, other misc problems.
Cc: <piranha-list@xxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 4 Jan 2002 11:40:42 +0200 (EET)
        Hello,

On Thu, 3 Jan 2002, Dan Browning wrote:

> I have tried so many things to get this cluster working, I think I could
> write the book... on 2.0 and 2.2 kernels anyway.  2.4 seems to be such a
> different beast that I haven't been able to get it working.  If there is
> more information I can provide, or anything I can do that might help
> solicit a response on this issue, please tell me.  Perhaps the fact that
> I'm using RH 7.2 is the issue?
>
> The docs do not seem to have much information regarding 2.4.x kernels
> and the new 'ip addr' or 'iptables' commands.  What is the correct way

        There is no difference between 2.2 and 2.4 in the setup.
For iptables look at the netfilter docs.

> to setup Red Hat 7.2 (or any 2.4.x) system for LVS-DR (or LVS-TUN, I'm
> not picky), including the ARP problem?
>
> I have tried all of the following unsuccessfully:
>
> # Another way to avoid the ARP problem
> insmod ipchains
> ipchains -A input -j REDIRECT 80 -d 63.145.198.48 80 -p tcp
>
> echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
> echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_filter
> echo 1 > /proc/sys/net/ipv4/conf/eth1/arp_filter

        arp_filter is not mentioned in the docs. It is not a
solution for the arp problem. You can apply the patch
for the "hidden" device flag as the only solution for now.

> # Insert the ipip module
> insmod ipip
> # Make the tunl0 device up
> ifconfig tunl0 up

        ifconfig tunl0 0.0.0.0 up

        you really should read the docs on the LVS web site, we fixed
them recently regarding the right settings for LVS-TUN

> # Start the hiding interface functionality
> echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter

        hidden

> # Hide all addresses for this tunnel device
> echo 1 > /proc/sys/net/ipv4/conf/tunl0/arp_filter
> # Configure a VIP on an alias of tunnel device
> ifconfig tunl0:0 63.145.198.48 up

Regards

--
Julian Anastasov <ja@xxxxxx>



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