"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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
+------------------------------------+       ______ _  __
|   __--_|\  Julian Elischer         |       \     U \/ / hard at work in 
|  /       \ [EMAIL PROTECTED]     +------>x   USA    \ a very strange
| (   OZ    )                                \___   ___ | country !
+- X_.---._/    presently in San Francisco       \_/   \\
          v

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to