From owner-freebsd-net@FreeBSD.ORG Mon Aug 26 18:10:54 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D902753C; Mon, 26 Aug 2013 18:10:54 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A8C682548; Mon, 26 Aug 2013 18:10:53 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-245-177.lns20.per2.internode.on.net [121.45.245.177]) (authenticated bits=0) by vps1.elischer.org (8.14.6/8.14.6) with ESMTP id r7QIAeHe014036 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 26 Aug 2013 11:10:43 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <521B9A1B.7080908@freebsd.org> Date: Tue, 27 Aug 2013 02:10:35 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Kimmo Paasiala Subject: Re: Why default route is not installed last? References: <521670FF.6080407@delphij.net> <20130826.203744.2304902117196747104.hrs@allbsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: delphij@delphij.net, Hiroki Sato , freebsd-rc@freebsd.org, d@delphij.net, FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 18:10:54 -0000 On 8/26/13 7:56 PM, Kimmo Paasiala wrote: > 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. That has always been specifically not supported. default route needs to be directly attached. in fact the routing tables only ever deliver the 'next hop' > > -Kimmo > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >