From owner-freebsd-stable@FreeBSD.ORG Sat Jun 18 20:14:38 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AC4A16A41C for ; Sat, 18 Jun 2005 20:14:38 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from 62-15-207-214.inversas.jazztel.es (62-15-207-214.inversas.jazztel.es [62.15.207.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADD0C43D1F for ; Sat, 18 Jun 2005 20:14:36 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by 62-15-207-214.inversas.jazztel.es (8.13.3/8.13.3) with ESMTP id j5IKEYFj035001; Sat, 18 Jun 2005 22:14:34 +0200 (CEST) (envelope-from josemi@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.3/8.13.3/Submit) id j5IKEX2s006596; Sat, 18 Jun 2005 22:14:33 +0200 (CEST) (envelope-from josemi@redesjm.local) From: Jose M Rodriguez To: freebsd-stable@freebsd.org Date: Sat, 18 Jun 2005 22:14:32 +0200 User-Agent: KMail/1.8 References: <51688.147.175.8.5.1119105461.squirrel@webmail.satronet.sk> <42B46C9B.7000206@mac.com> <200506190004.48066.vanco@satro.sk> In-Reply-To: <200506190004.48066.vanco@satro.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200506182214.33279.josemi@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.15; VDF: 6.30.0.207; host: antares.redesjm.local) Cc: Michal Vanco Subject: Re: Routes not deleted after link down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2005 20:14:38 -0000 El Domingo, 19 de Junio de 2005 00:04, Michal Vanco escribi=F3: > On Saturday 18 June 2005 20:48, Chuck Swiger wrote: > > Michal Vanco wrote: > > > i discovered that routes are not deleted from routing table after > > > link on interface goes down. For example: > > > > [ ... ] > > > > > Should't all routes via bge0 be deleted after link on bge0 goes > > > down? > > > > Maybe. If the system was not going to be reconnected to that > > network anytime soon, it would be a good idea. On the other hand, > > if the link down was due to a transient failure of a wireless > > connection, which will be back up in a second or two, it's much > > better not to drop the route and kill any open connections. > > hmm ... this approach is may be appropriate for deskop instalation. > what about internet router? shouldn't "fast convergence" be better in > this case? imagine two links connected to the same router with > different metrics. if first of them goes down, the second never gets > used in this case. > > michal =46irst, this is a thread for net, not stable. Second, you may need a route daemon for this. ospf is a well known=20 canditate where convergence in case of lost link is a must. Also, you can monitor link status and do the switch from a daemon. =20 Userland ppp have more or less this. =2D- josemi