From owner-freebsd-net@FreeBSD.ORG Sat Feb 4 19:56:03 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 70F6E1065673; Sat, 4 Feb 2012 19:56:03 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 14F648FC08; Sat, 4 Feb 2012 19:56:02 +0000 (UTC) Received: by iaeo4 with SMTP id o4so9905706iae.13 for ; Sat, 04 Feb 2012 11:56:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=XNOMcm57BZC6zNjM+P/AvzDlQ3+Uq6dkodZpKJCl930=; b=GIN5Oz7nM0nNqLwr50RkBd7HSgiYR9o0buJ1r3Q8eMHufTP76rHdPDHn5jRgWs3Eds 6IVCGduX3Al0Cc4yDP2saNfhsNr6Mzzya1tcjWK0M0Rut/Q7DcPTfwgwqpKf5KIRmDZ6 F1M4DKq9M/yrNl1cludOCMeBbw1WCG5+xzXbo= Received: by 10.50.149.162 with SMTP id ub2mr2950665igb.1.1328383760124; Sat, 04 Feb 2012 11:29:20 -0800 (PST) Received: from DataIX.net (adsl-99-181-135-57.dsl.klmzmi.sbcglobal.net. [99.181.135.57]) by mx.google.com with ESMTPS id e17sm10957116ibe.0.2012.02.04.11.29.18 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Feb 2012 11:29:19 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q14JTFiV084645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Feb 2012 14:29:15 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q14JTFQZ084288; Sat, 4 Feb 2012 14:29:15 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Sat, 4 Feb 2012 14:29:15 -0500 From: Jason Hellenthal To: Hiroki Sato Message-ID: <20120204192915.GA63412@DataIX.net> References: <20120205.033532.381149506660559829.hrs@allbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120205.033532.381149506660559829.hrs@allbsd.org> 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: Sat, 04 Feb 2012 19:56:03 -0000 On Sun, Feb 05, 2012 at 03:35:32AM +0900, 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. > Awesome! I will give this a test ASAP.