From owner-freebsd-net@FreeBSD.ORG Fri Sep 25 09:01:09 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE3C010656C9; Fri, 25 Sep 2009 09:01:09 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1209C8FC17; Fri, 25 Sep 2009 09:01:09 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id EA8883982B; Fri, 25 Sep 2009 11:01:04 +0200 (SAST) Date: Fri, 25 Sep 2009 11:01:04 +0200 From: John Hay To: "Li, Qing" Message-ID: <20090925090104.GA99931@zibbi.meraka.csir.co.za> References: <4ABBAC87.4040306@FreeBSD.org> <4ABBE5C6.6070707@FreeBSD.org> <4ABC6E7C.80305@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-net , Alexander Motin , freebsd-current@FreeBSD.org Subject: Re: Point-to-Point interfaces regressions X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 09:01:10 -0000 On Fri, Sep 25, 2009 at 12:27:04AM -0700, Li, Qing wrote: > > > > Li, Qing wrote: > > >> Me and many other people running net/mpd handling thousands of PtP > > >> interfaces sharing local addresses with each other and with some > > >> Ethernet interface. This change makes such setup inoperable, as mpd > > >> will constantly receive errors while trying to set addresses and > > >> drop connections. > > > > > > I can revert to the old behavior. I asked for feedback and > received > > > none at the time ... > > > > I would like to see it working, but working correctly. If it is not > > possible to implement it correctly - then reverted, or at least > > disabled > > by default. > > > > Asking for compatibility is reasonable but the existing packet > leaking behavior is incorrect. > > After reviewing the previous thread on this topic back in July, > I see that Henri Hennebert requested this feature for IPv6. > > I intend to introduce a sysctl variable to control whether loopback > route should be installed for the local end point. By default > the old behavior maintained. What about only adding the route if it does not exist yet? That should handle the common case of reusing your ip address on the ethernet interface on the local side of point-to-point links. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org