From owner-freebsd-questions Mon Aug 21 17:27:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from integrity.chainsoft.com (c1009606-a.sttln1.wa.home.com [24.0.236.127]) by hub.freebsd.org (Postfix) with ESMTP id 2AB8D37B424 for ; Mon, 21 Aug 2000 17:27:54 -0700 (PDT) Received: from integrity ([192.168.0.10]) by integrity.chainsoft.com with Microsoft SMTPSVC(5.0.2195.1600); Mon, 21 Aug 2000 17:28:20 -0700 Message-ID: <001901c00bcf$df9b0bf0$0a00a8c0@chainsoft.com> From: "Larry Skarpness Jr." To: Subject: ARP issues with 2 or more multi-homed interfaces on same physical LAN Date: Mon, 21 Aug 2000 17:28:20 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 22 Aug 2000 00:28:20.0409 (UTC) FILETIME=[DF9C9290:01C00BCF] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sometimes it is necessary to place two or more network cards in the same machine and have them wired to the same physical LAN. There could be several reason's for doing this. After researching this problem it is apparent that others have made the same explicit decision to do so. This causes frequent messages to appear in the console and log like... /kernel: arp:192.168.0.20 is on dc0 but got reply from 00:e0:98:71:63:fd on ed0 I have traced this logic to ../src/sys/netinet/if_ether.c in 4.1-RELEASE. I see that this condition is not treated as an error if the BRIDGE option is in force. However I do not want to enable bridging because that would cause other problems. It would be nice if there were some kernel option that allows for the proper handling of this situation. For now I have changed line 556 to be #ifndef TRUE /* the following is not an error when doing bridging */ so as to disable checking of the condition. I won't pretend to understand the full impact of this change but it does not seem to have had any adverse affects. The network is operating fine, and I no longer get any error messages. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message