From owner-freebsd-net@FreeBSD.ORG Sun Feb 5 19:38:27 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 D38721065776; Sun, 5 Feb 2012 19:38:27 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4268FC19; Sun, 5 Feb 2012 19:38:26 +0000 (UTC) Received: by bkbzx1 with SMTP id zx1so5829045bkb.13 for ; Sun, 05 Feb 2012 11:38:25 -0800 (PST) Received: by 10.204.145.155 with SMTP id d27mr6729477bkv.36.1328469304406; Sun, 05 Feb 2012 11:15:04 -0800 (PST) Received: from [10.254.254.77] (ppp95-165-159-250.pppoe.spdop.ru. [95.165.159.250]) by mx.google.com with ESMTPS id e17sm34493830bkz.13.2012.02.05.11.15.03 (version=SSLv3 cipher=OTHER); Sun, 05 Feb 2012 11:15:04 -0800 (PST) Message-ID: <4F2ED535.40606@zonov.org> Date: Sun, 05 Feb 2012 23:15:01 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Hiroki Sato References: <20120205.033532.381149506660559829.hrs@allbsd.org> In-Reply-To: <20120205.033532.381149506660559829.hrs@allbsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: sem@FreeBSD.org, mark@mivok.net, net@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 19:38:27 -0000 Hi, What do you think about adding fib support for rc.subr like we got one for nice? 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 -- Andrey Zonov