From owner-freebsd-current@FreeBSD.ORG Thu Sep 8 22:25:18 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43DE716A41F for ; Thu, 8 Sep 2005 22:25:18 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 194AA43D53 for ; Thu, 8 Sep 2005 22:25:08 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j88MP8E5002925; Thu, 8 Sep 2005 15:25:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j88MP7ef002924; Thu, 8 Sep 2005 15:25:07 -0700 (PDT) (envelope-from jmg) Date: Thu, 8 Sep 2005 15:25:07 -0700 From: John-Mark Gurney To: Jon Dama Message-ID: <20050908222507.GE793@funkthat.com> Mail-Followup-To: Jon Dama , Brooks Davis , Jochen Gensch , freebsd-current@freebsd.org References: <20050901225346.0923E16A41F@hub.freebsd.org> <200509072128.04819.incmc@gmx.de> <20050907194130.GA2436@odin.ac.hmc.edu> <200509072223.20560.incmc@gmx.de> <20050907211811.GA19570@odin.ac.hmc.edu> <20050908214834.GA8000@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Jochen Gensch , freebsd-current@freebsd.org Subject: Re: Default route doesn't change to wireless device (ath0) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 22:25:18 -0000 Jon Dama wrote this message on Thu, Sep 08, 2005 at 15:13 -0700: > > > Again, the problem is with the routing code. You should NOT need to be > > > deleting default routes simply because one link goes down and another > > > comes up on a different interface. > > > > > > Deleting the route simply because the interface went down is a hack. > > > > Got a new routing implemention handy? Until then, well have to live > > with hacks. :( > > True enough. I think the general idea is that you need a two layer > routing table. One that keeps tract of what is possible, and one that > keeps track of what is happening w.r.t existing flows. Once an interface > link goes down, the route in the second table invaliadates and you go back > to the first to find a new route. Isn't this what a routing daemon does, like routed? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."