Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2000 17:28:20 -0700
From:      "Larry Skarpness Jr." <larry@chainsoft.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ARP issues with 2 or more multi-homed interfaces on same physical LAN
Message-ID:  <001901c00bcf$df9b0bf0$0a00a8c0@chainsoft.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c00bcf$df9b0bf0$0a00a8c0>