Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2012 20:49:31 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Andrey Zonov <andrey@zonov.org>
Cc:        Hiroki Sato <hrs@FreeBSD.org>, mark@mivok.net, net@FreeBSD.org, sem@FreeBSD.org
Subject:   Re: [CFT] multiple FIB support in route(8)
Message-ID:  <4F2EDD4B.3010307@quip.cz>
In-Reply-To: <4F2ED535.40606@zonov.org>
References:  <20120205.033532.381149506660559829.hrs@allbsd.org> <4F2ED535.40606@zonov.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2EDD4B.3010307>