Date: Thu, 26 Jul 2001 02:04:50 -0700 From: Julian Elischer <julian@elischer.org> To: "Eugene L. Vorokov" <vel@bugz.infotecs.ru> Cc: Soren Kristensen <soren@soekris.com>, freebsd-hackers@freebsd.org Subject: Re: ARP cache problems.... Message-ID: <3B5FDD32.7758EB35@elischer.org> References: <200107260837.f6Q8b9K00767@bugz.infotecs.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
"Eugene L. Vorokov" wrote: > > > Things seem to work fine now, but I still get a lot of those: > > > > "Jul 26 00:43:48 test256m /kernel: arp: 192.168.1.4 is on sis0 but got > > reply from 00:a0:cc:a0:d4:07 on sis1" > > > > Anybody know how to turn them off ? > > Yes, I have this problem too. We use several interfaces with totally > different addresses connected to the same hub for testing purposes, > on a testing stand. It's more cheap than bulding truly different > networks. I think it isn't possible to just turn those log messages > off without kernel hacking, which is sad. Probably some sysctl var > would be good ... why not use several addresses on one card? > > Currently, the solution is to take /sys/netinet/if_ether.c, find this: > > #ifndef BRIDGE /* the following is not an error when doing bridging */ > if (rt->rt_ifp != &ac->ac_if) { > log(LOG_ERR, "arp: %s is on %s%d but got reply from %6D on %s%d\n", > inet_ntoa(isaddr), > rt->rt_ifp->if_name, rt->rt_ifp->if_unit, > ea->arp_sha, ":", > ac->ac_if.if_name, ac->ac_if.if_unit); > goto reply; > } > #endif > > and just hack off this message. > > Regards, > Eugene > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B5FDD32.7758EB35>