From owner-freebsd-hackers Thu Jul 26 2:15:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 78F5537B401 for ; Thu, 26 Jul 2001 02:15:21 -0700 (PDT) (envelope-from julian@elischer.org) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id EAA08430; Thu, 26 Jul 2001 04:13:28 -0700 (PDT) Message-ID: <3B5FDD32.7758EB35@elischer.org> Date: Thu, 26 Jul 2001 02:04:50 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: "Eugene L. Vorokov" Cc: Soren Kristensen , freebsd-hackers@freebsd.org Subject: Re: ARP cache problems.... References: <200107260837.f6Q8b9K00767@bugz.infotecs.ru> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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