[CFT] multiple FIB support in route(8)

Miroslav Lachman 000.fbsd at quip.cz
Sun Feb 5 20:05:09 UTC 2012


Andrey Zonov wrote:
> Hi,
>
> What do you think about adding fib support for rc.subr like we got one
> for nice?

There are PRs with patches for rc.subr for a long time without attention.
Same as with PR's adding suport for cpuset.
I don't understand why we are having some really useful tools in base 
without support in rc.conf

> On 04.02.2012 22: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.
>>
>> -- Hiroki


More information about the freebsd-net mailing list