From owner-freebsd-net Mon Feb 5 16:34:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 1789737B503; Mon, 5 Feb 2001 16:34:08 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f160Xrt33550; Mon, 5 Feb 2001 16:33:53 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102060033.f160Xrt33550@iguana.aciri.org> Subject: Re: Almost fixed (was Re: BRIDGE breaks ARP? (Julian's patch)) In-Reply-To: <20010205234036.74638.richw@wyattearp.stanford.edu> from Rich Wales at "Feb 5, 2001 4:12:28 pm" To: richw@webcom.com (Rich Wales) Date: Mon, 5 Feb 2001 16:33:53 -0800 (PST) Cc: rizzo@aciri.org, julian@elischer.org, patrick@netzuno.com, freebsd-net@FreeBSD.ORG, julian@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Good news and bad news. > > First the good news: > > The bridge is answering ARP requests for its own hardware address > on the internal (rl0) interface now. expected :) > Now the bad news: > > ARP replies from the bridge to the DSL modem (via the external > i/f) are still getting sent to the desktop (via the internal i/f), this is a bit less expected -- because the reply is unicast to the MAC of the host requesting the packet, and ether_output() is called with the correct interface pointer. What do you have in net.link.ether.bridge_cfg , and do you also see the ARP reply on the 'external' side (i suppose so) ? cheers luigi > and the desktop is using them to change its idea of the bridge's > hardware address. This causes a log message like the following: > > /kernel: arp: 171.66.188.114 moved from 00:e0:29:68:64:3e > to 00:60:97:05:32:cd on rl0 > > The desktop can contact the bridge using either of the bridge's > hardware addresses, of course -- but I still think the bridge > ought to send out its ARP replies =only= on the interface from > which the query came that the bridge is replying to. > > FWIW, the desktop is still running 4.2-RELEASE. > > Rich Wales richw@webcom.com http://www.webcom.com/richw/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message