From owner-freebsd-net@FreeBSD.ORG Sun Jun 19 20:33:53 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 770F016A41C; Sun, 19 Jun 2005 20:33:53 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32EF943D1F; Sun, 19 Jun 2005 20:33:53 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j5JKXRKQ011291; Sun, 19 Jun 2005 16:33:27 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.3/8.13.3) with ESMTP id j5JKXqcm057171; Sun, 19 Jun 2005 16:33:52 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j5JKXjBf093838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Jun 2005 16:33:45 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050619161035.03720998@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sun, 19 Jun 2005 16:34:23 -0400 To: Gleb Smirnoff From: Mike Tancsa In-Reply-To: <20050619082944.GA11972@cell.sick.ru> References: <51688.147.175.8.5.1119105461.squirrel@webmail.satronet.sk> <42B46C9B.7000206@mac.com> <200506190004.48066.vanco@satro.sk> <200506182214.33279.josemi@redesjm.local> <20050619082944.GA11972@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.26 Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Routes not deleted after link down 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: Sun, 19 Jun 2005 20:33:53 -0000 At 04:29 AM 19/06/2005, Gleb Smirnoff wrote: >On Sat, Jun 18, 2005 at 10:14:32PM +0200, Jose M Rodriguez wrote: >J> Second, you may need a route daemon for this. ospf is a well known >J> canditate where convergence in case of lost link is a must. > >I've checked that Cisco routers remove route from FIB when interface >link goes down. I haven't checked Junipers yet. > > >From my viewpoint, removing route (or marking it unusable) is a correct >behavior for router. Not sure it is correct for desktop. > >My vote is that we should implement this functionality and make it >switchable via sysctl. I'd leave the default as is. I like this idea as well, but you need to control how the routes would come back after the interface comes back up ? This seems more of the province of a routing daemon like quagga as opposed to a kernel feature no ? ---Mike