From owner-freebsd-stable Mon May 1 9:41:21 2000 Delivered-To: freebsd-stable@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 6D6BC37B543 for ; Mon, 1 May 2000 09:41:12 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id SAA45058; Mon, 1 May 2000 18:41:52 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200005011641.SAA45058@info.iet.unipi.it> Subject: Re: bridging code problems with aliasing In-Reply-To: <20000430213035.A93390@got.wedgie.org> from Jason Garman at "Apr 30, 2000 09:30:35 pm" To: jgarman@wedgie.org Date: Mon, 1 May 2000 18:41:52 +0200 (CEST) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG interesting report -- thanks. now i suppose we should just make sure that the arp layer will always thing it has the address of the primary interface (the one with the ip address assigned) ? cheers luigi > The bridging code returns a random hw address from the > interfaces which are bridged to arp requests. My bridge host has an IP x > (bound to ed0), and every time an arp request is sent on the wire for x, > either ed0's hw address is returned or fxp0's address is returned. > > This is mostly a minor annoyance most of the time, because the machine > will answer arp requests on both ed0 and fxp0 regardless of the hw address > it is currently "using." However, when an alias is added to the machine, > if the machine currently "thinks" its hardware address is fxp0's hw > address, it will not answer any arp requests from ed0. If the machine > currently "thinks" its hardware address is ed0's hw address then it will > answer all arp requests from both wires. > > So, basically, aliasing and bridging do not mix. > > Any clues? > -- > Jason Garman http://web.wedgie.org/ > Student, University of Maryland jgarman@wedgie.org > From fortune(1): Whois: JAG145 > "... Had this been an actual emergency, we would have fled in terror, > and you would not have been informed." > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message