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 --- [EMAIL PROTECTED]
http://www.palisadesys.com/~ghelmer
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message