From owner-freebsd-net Tue Dec 19 13:49:11 2000 From owner-freebsd-net@FreeBSD.ORG Tue Dec 19 13:49:10 2000 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by hub.freebsd.org (Postfix) with ESMTP id 716C137B400 for ; Tue, 19 Dec 2000 13:49:09 -0800 (PST) Received: from localhost (ghelmer@localhost) by magellan.palisadesys.com (8.11.0/8.11.0) with ESMTP id eBJLn7603677; Tue, 19 Dec 2000 15:49:07 -0600 Date: Tue, 19 Dec 2000 15:49:07 -0600 (CST) From: Guy Helmer To: Peter Brezny Cc: freebsd-net@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <002d01c06a17$73302120$46010a0a@sysadmininc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 19 Dec 2000, Peter Brezny wrote: > Is there a way that I can temporarely supress Kernel arp errors from poping > up on the console until i'm done with my config? > I'm reconfiguring a network into separate internal and external segments > separated by a firewall. However it's going to take me a little while to do > it, and in order to keep things functioning until it's done, I'm gong to > have to keep both the inside and outside nic's plugged into the same switch > (which gives a lot of errors like this). > /kernel: arp: 10.10.1.70 is on rl0 but got reply from (mac) on fpx0 > TIA > Peter Brezny > SysAdmin Services Inc. I patch if_ether.c so that it doesn't complain; I'm thinking about adding a sysctl variable to allow this behavior to be changed at runtime. *** sys/netinet/if_ether.c.ORIG Tue Oct 24 14:39:04 2000 --- sys/netinet/if_ether.c Tue Nov 21 05:32:04 2000 *************** *** 557,567 **** --- 557,569 ---- if (la && (rt = la->la_rt) && (sdl = SDL(rt->rt_gateway))) { #ifndef BRIDGE /* the following is not an error when doing bridging */ if (rt->rt_ifp != &ac->ac_if) { + #ifdef NAGNAGNAG 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); + #endif goto reply; } #endif -- Guy Helmer, Ph.D. Sr. Software Engineer, Palisade Systems --- ghelmer@palisadesys.com http://www.palisadesys.com/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message