Date: Tue, 4 May 2010 14:02:08 -0400 (EDT) From: "Brian A. Seklecki" <lavalamp@spiritual-machines.org> To: freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org Cc: spolyack@gmail.com, Mark Harrison <mark@mivok.net>, Sergey Matveychuk <sem@FreeBSD.org> Subject: Re: conf/145440: [rc.d] [patch] add multiple fib support (setfib) in /etc/rc.d/routing Message-ID: <alpine.BSF.2.00.1005041355380.96276@vger.digitalfreaks.org> In-Reply-To: <alpine.BSF.2.00.1005041041200.96276@vger.digitalfreaks.org> References: <201004062317.o36NHYoB049073@freefall.freebsd.org> <alpine.BSF.2.00.1005041041200.96276@vger.digitalfreaks.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I have tested this patch in a pre-production environment and found it
very useful. It meets my requirements.
A few quick usage notes...one can do:
rc.conf(5):
static_routes_fib0="fib0_firstnet fib0_2ndnet"
route_fib0_firstnet="206.210.89.192/27 206.83.220.129"
route_fib0_2ndnet="206.210.72.64/27 206.83.220.129"
defaultrouter_fib0="192.168.1.1"
static_routes_fib1="fib1_firnet fib1_2ndnet"
route_fib1_firstnet="192.168.0.0/16 192.168.0.1"
route_fib1_2ndnet="192.168.169.0/24 192.168.66.1"
defaultrouter_fib1="206.83.220.129"
--- or ---
You acn strip off references to "fib0" and have your original syntax
statements be your implied first route, depending on how your OCD is
feeling. ~BAS
Lastly, I add the following information line:
--- snip ---
while : ; do
echo "Configuring static routes for FIB: ${fib}"
line 46 of 194 in RELENG_8 as of today.
Thanks all!
~BAS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1005041355380.96276>
