LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: LVS-DR on Red Hat 7.2: handling ARP, other misc problems.
Cc: <piranha-list@xxxxxxxxxx>
From: "Dan Browning" <db@xxxxxxxxx>
Date: Fri, 4 Jan 2002 10:38:48 -0800
>       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>

Many thanks to Julian, Wensong, and Pablo.  I'll give a new kernel/lvs
combo a shot with the 'hidden' patch and corrected ifconfig'ing.  After
I figure it all out, I'll try to leave some newbie instructions behind
for the next Red Hat 7.2 LVS-TUN guy that comes along.  :-)

Thanks,

+---------------------------------------------------
| Dan Browning, Sr. Tech Consultant
| Kavod Technologies, 1498 SE Tech Center Pl Ste 170
| Vancouver, WA 98683  <dan.browning@xxxxxxxxx>
+---------------------------------------------------
"Protozoa are small, and bacteria are small, but viruses are smaller
than the both put together."



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