From owner-freebsd-hackers Thu Jul 26 1:21:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id E763537B406 for ; Thu, 26 Jul 2001 01:21:35 -0700 (PDT) (envelope-from vel@bugz.infotecs.ru) Received: (from root@localhost) by bugz.infotecs.ru (8.11.1/8.11.1) id f6Q8b9K00767; Thu, 26 Jul 2001 12:37:09 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200107260837.f6Q8b9K00767@bugz.infotecs.ru> Subject: Re: ARP cache problems.... In-Reply-To: <3B5FCE38.65687CBA@soekris.com> "from Soren Kristensen at Jul 26, 2001 01:00:56 am" To: Soren Kristensen Date: Thu, 26 Jul 2001 12:37:08 +0400 (MSD) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 > 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 ... 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