Why default route is not installed last?
Kimmo Paasiala
kpaasial at gmail.com
Mon Aug 26 11:56:17 UTC 2013
On Mon, Aug 26, 2013 at 2:37 PM, Hiroki Sato <hrs at freebsd.org> wrote:
> Xin Li <delphij at delphij.net> wrote
> in <521670FF.6080407 at 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
More information about the freebsd-net
mailing list