Date: Tue, 19 Dec 2000 15:49:07 -0600 (CST) From: Guy Helmer <ghelmer@palisadesys.com> To: Peter Brezny <peter@sysadmin-inc.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: your mail Message-ID: <Pine.LNX.4.21.0012191545030.739-100000@magellan.palisadesys.com> In-Reply-To: <002d01c06a17$73302120$46010a0a@sysadmininc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0012191545030.739-100000>