On 8/22/13 2:20 AM, Hiroki Sato wrote:
Will Andrews <w...@firepipe.net> wrote
in <cadbaqmi6c7v8ojry8uviri9tk18n8_radrp+ujvcmen9guw...@mail.gmail.com>:
wi> * Always add loopback routes for non-zero FIBs, for both IPv4 and
wi> IPv6. Arguably, this could be a policy issue, but it is currently
wi> less-than-trivial to specify (in rc.conf) that a route needs to be
wi> applied to every FIB.
I am not sure why this is needed. Are the loopback host routes
installed into all of the FIBs automatically when lo0 is initialized?
Even if it is required, get_fibmod() is not necessary. The following
should work:
# route add -inet 127.0.0.1/8 -iface lo0 -fib all
I agree that this one bothers me.
I think that you are making assumptions about what the user will want.
POLA in my experience is that an empty FIB starts out EMPTY,
unless you *specify* it should be initialized with all the interface
routes, in which case lo0
should be done as well.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"