Re: ipv4_devconf.arp_accept mystery

2007-12-25 Thread Benny Amorsen
Herbert Xu <[EMAIL PROTECTED]> writes: > As the name suggests you should use > > /proc/sys/net/ipv4/conf/all/arp_accept The documentation says that if arp_accept is 0, unsolicited arp replies are dropped. Doesn't that interfere with failover services such as vrrp, keepalived, ucarp etc? I t

Re: ipv4_devconf.arp_accept mystery

2007-12-24 Thread Ian Brown
Hello, >As the name suggests you should use > /proc/sys/net/ipv4/conf/all/arp_accept Thanks. This is indeed true. I first tried with ipv4_devconf.arp_accept, where the name probably does **not** suggest it; I agree that for PV4_DEVCONF_ALL() the name indeed suggests it . It just skipped my e

Re: ipv4_devconf.arp_accept mystery

2007-12-24 Thread Herbert Xu
Ian Brown <[EMAIL PROTECTED]> wrote: > > BTW, in newer kernel version we have IPV4_DEVCONF_ALL(ARP_ACCEPT) > instead. So if anybody knows how to set this macro (instead)to be 1, it will > be > also fine. As the name suggests you should use /proc/sys/net/ipv4/conf/all/arp_accept Cheers,

ipv4_devconf.arp_accept mystery

2007-12-23 Thread Ian Brown
Hello, I have a question regarding unsolicited ARPs in ipv4/arp.c As I understand, by default this feature is disabled; How can one set this feature ? When working with ipv4_devconf.arp_accept is 0 by default. This is with 2.6.21 kernel. I wanted ipv4_devconf.arp_accept to be set to 1. I added: