LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: hidden patch

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: hidden patch
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 8 Nov 2005 17:52:12 +0900
On Tue, Nov 08, 2005 at 09:37:51AM +0100, Michael Stiller wrote:
> 
> > Patching kernels is a tricky and often painful art, even for the
> > experienced. I'm not sure which version of CentOS you are using,
> > but I suspect it already has the arp_ignore and arp_announce proc
> > values, which can be used instead of, and are superior to
> > the hidden proc value. Please consider using these instead,
> > if they are there, you will not need to patch your kernel.
> 
> If the centos kernel is similar to the rhel 4 kernel it should work
> like horms said. 
> 
> Check if the following "files" are available:
> 
> /proc/sys/net/ipv4/conf/all/arp_ignore and arp_announce
> 
> On fedora core 3 i did:
> 
> in /etc/sysctl.conf:
> 
> net.ipv4.conf.lo.arp_ignore = 1
> net.ipv4.conf.lo.arp_announce = 2

This should be eth0 not lo

> net.ipv4.conf.all.arp_ignore = 1
> net.ipv4.conf.all.arp_announce = 2

-- 
Horms

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