Why default route is not installed last?

Hiroki Sato hrs at FreeBSD.org
Mon Sep 2 20:43:00 UTC 2013


Xin Li <delphij at delphij.net> wrote
  in <521BA31C.5000807 at delphij.net>:

de> > That has always been specifically not supported. default route
de> > needs to be directly attached. in fact the routing tables only ever
de> > deliver the 'next hop'
de>
de> Well, depends on whether the 'next hop' is an IP or an interface.  For
de> instance one can have a valid configuration that they have a static
de> route of:
de>
de> 2607:5300:XXXX:XXXX:ff:ff:ff:ff -prefixlen 128 -interface em0
de>
de> Then have 2607:5300:XXXX:XXXX:ff:ff:ff:ff as default router.
de>
de> This configuration is not possible with the current rc.d startup order.

 Ah, I see.  I personally do not like this kind of configurations but
 it should be supported as a dirty workaround.  The patch is correct,
 so please go ahead with it.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130903/0a4c4e84/attachment.sig>


More information about the freebsd-net mailing list