From owner-freebsd-rc@FreeBSD.ORG Mon Aug 26 11:56:17 2013 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 62FF794E; Mon, 26 Aug 2013 11:56:17 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qe0-x230.google.com (mail-qe0-x230.google.com [IPv6:2607:f8b0:400d:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0351E2D30; Mon, 26 Aug 2013 11:56:16 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id 1so1657905qec.21 for ; Mon, 26 Aug 2013 04:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OaZTMCwXbvKj8f+xQLhTBpc05r9z8jMTnwNKb9yVeMs=; b=A9Jhr1SH8rdfnQcX6uxPevIQ1v9gwkE4wwNCZ/i1istmwrEl/L+FyGfgyaDqlOrmr5 6QIVDWuVJOhZlrCdNw+aW1Mf2bfsSUViBuQr18YGTwPsHLLJU7RPZE4Kgq/K2RD9Y61a nJC5oW2pRIpLMUus+Wm68r8YN7Nq9TF/iSql5WUiIIhN0GpqSArBwK9tPmdCHjwKc8VT N6sHMnYXjLOpt2gTlzJwRKRRZ8lPcELKaT4Sj6+mOgA7BwBC6jnmMWBtGf5skuDI2mua LD4OWIDvPB2famN4Vr/ExIK0LFkhiPJpeto3nZlblWB93HkvnGXzIlBZjFTc40EXW04R 66bw== MIME-Version: 1.0 X-Received: by 10.224.112.69 with SMTP id v5mr958548qap.91.1377518176119; Mon, 26 Aug 2013 04:56:16 -0700 (PDT) Received: by 10.224.5.195 with HTTP; Mon, 26 Aug 2013 04:56:16 -0700 (PDT) In-Reply-To: <20130826.203744.2304902117196747104.hrs@allbsd.org> References: <521670FF.6080407@delphij.net> <20130826.203744.2304902117196747104.hrs@allbsd.org> Date: Mon, 26 Aug 2013 14:56:16 +0300 Message-ID: Subject: Re: Why default route is not installed last? From: Kimmo Paasiala To: Hiroki Sato Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, delphij@delphij.net, d@delphij.net, FreeBSD Net X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 11:56:17 -0000 On Mon, Aug 26, 2013 at 2:37 PM, Hiroki Sato wrote: > Xin Li wrote > in <521670FF.6080407@delphij.net>: > > de> -----BEGIN PGP SIGNED MESSAGE----- > de> Hash: SHA512 > de> > de> Hi, > de> > de> I've noticed that we do not install default route last (after other > de> static routes). I think we should probably install it last, since the > de> administrator may legitimately configure a static route (e.g. this > de> IPv6 address goes to this interface) that is required by the default > de> route. > > Do you have an example? I could imagine some theoretically but > personally think that the default route which depends on a static > route is one which should be avoided. > > -- Hiroki Isn't that the case when the default gateway address is on a different subnet than the address assigned to the interface? Such set ups are admittedly odd but they should be possible on FreeBSD as well as on other OSes. -Kimmo