From owner-freebsd-net@FreeBSD.ORG Sun Feb 5 20:05:09 2012 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A82A106566B; Sun, 5 Feb 2012 20:05:09 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3E11F8FC1C; Sun, 5 Feb 2012 20:05:08 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 554C52842E; Sun, 5 Feb 2012 20:49:33 +0100 (CET) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2CADD28424; Sun, 5 Feb 2012 20:49:32 +0100 (CET) Message-ID: <4F2EDD4B.3010307@quip.cz> Date: Sun, 05 Feb 2012 20:49:31 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Andrey Zonov References: <20120205.033532.381149506660559829.hrs@allbsd.org> <4F2ED535.40606@zonov.org> In-Reply-To: <4F2ED535.40606@zonov.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Hiroki Sato , mark@mivok.net, net@FreeBSD.org, sem@FreeBSD.org Subject: Re: [CFT] multiple FIB support in route(8) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 20:05:09 -0000 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