From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] IPV6: remove addresses and routes when carrier is lost Date: Tue, 03 Jun 2008 10:53:08 -0700 (PDT) Message-ID: <20080603.105308.196677970.davem@davemloft.net> References: <20080604.022836.31952523.yoshfuji@linux-ipv6.org> <20080603.103059.193720094.davem@davemloft.net> <20080603104640.21026cdb@extreme> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: yoshfuji@linux-ipv6.org, netdev@vger.kernel.org To: shemminger@vyatta.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:56971 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752427AbYFCRxM (ORCPT ); Tue, 3 Jun 2008 13:53:12 -0400 In-Reply-To: <20080603104640.21026cdb@extreme> Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger Date: Tue, 3 Jun 2008 10:46:40 -0700 > It is not what desktop users want, that is why it is a dynamic configuration > option via /proc/sys/net/ipv6/conf/ethX/link_detect. > > But it is what a router wants. So why not allow it? Obviously, Vyatta > users expect systems behave same as Cisco. > > The problem with doing it all in user space are not impossible just more difficult: > * links bouncing lead to synchronization problems > * existing Quagga code avoids messing with "system routes" > * Quagga has to be portable to Solaris/BSD etc.. > > More at: > http://osdir.com/ml/network.quagga.devel/2004-08/msg00009.html If it's a route behavioral attribute, make it as such and add a new rtnetlink route attribute. If it's not there, existing behavior is maintained.