> 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
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
Cheers,
-Michael
|