[CFT] multiple FIB support in route(8)

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Feb 4 20:02:57 UTC 2012


On 04.02.2012 18:35, Hiroki Sato wrote:
> Hello,
>
>   Can anyone review/test the attached patch to add "-fib number" option
>   to route(8)?  This should simplify static route configuration across
>   multiple FIBs in rc.conf.  Just adding an -fib option like the
>   following will do the trick without changing rc.d/routing:
>
>    static_routes="foo bar"
>    route_foo="10.1.1.1/24 192.168.2.1 -fib 2"
>    route_bar="10.1.1.1/24 192.168.2.1 -fib 3"
>
>   The -fib option is supported in all subcommands but monitor.
Why should we leave `monitor` as is?

And, even if we really need to do so why "route monitor" silently 
accepts and ignores -fib X key?
>
> -- Hiroki



More information about the freebsd-net mailing list