Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 09:29:19 -0700
From:      Julian Elischer <julian@elischer.org>
To:        John Hay <jhay@meraka.org.za>
Cc:        freebsd-net <freebsd-net@FreeBSD.org>, "Li, Qing" <qing.li@bluecoat.com>, freebsd-current@FreeBSD.org, Alexander Motin <mav@FreeBSD.org>
Subject:   Re: Point-to-Point interfaces regressions
Message-ID:  <4ABCEFDF.5020501@elischer.org>
In-Reply-To: <20090925090104.GA99931@zibbi.meraka.csir.co.za>
References:  <4ABBAC87.4040306@FreeBSD.org>	<B583FBF374231F4A89607B4D08578A430569985B@bcs-mail03.internal.cacheflow.com>	<4ABBE5C6.6070707@FreeBSD.org>	<B583FBF374231F4A89607B4D08578A43056998A4@bcs-mail03.internal.cacheflow.com>	<4ABC6E7C.80305@FreeBSD.org>	<B583FBF374231F4A89607B4D08578A4305699AA6@bcs-mail03.internal.cacheflow.com> <20090925090104.GA99931@zibbi.meraka.csir.co.za>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ABCEFDF.5020501>