From owner-freebsd-net@FreeBSD.ORG Fri Sep 25 16:29:17 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 6E2E91065694 for ; Fri, 25 Sep 2009 16:29:17 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6F48FC1E for ; Fri, 25 Sep 2009 16:29:17 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 1898EB4EAF; Fri, 25 Sep 2009 09:29:17 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 9EF2A2D601A; Fri, 25 Sep 2009 09:29:16 -0700 (PDT) Message-ID: <4ABCEFDF.5020501@elischer.org> Date: Fri, 25 Sep 2009 09:29:19 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: John Hay References: <4ABBAC87.4040306@FreeBSD.org> <4ABBE5C6.6070707@FreeBSD.org> <4ABC6E7C.80305@FreeBSD.org> <20090925090104.GA99931@zibbi.meraka.csir.co.za> In-Reply-To: <20090925090104.GA99931@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net , "Li, Qing" , freebsd-current@FreeBSD.org, Alexander Motin 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 16:29:17 -0000 John Hay wrote: > 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. the hard part is removing it if it is the last interface that uses it. > > John