conf/145440: [rc.d] [patch] add multiple fib support (setfib)
in /etc/rc.d/routing
Brian A. Seklecki
lavalamp at spiritual-machines.org
Tue May 4 18:00:13 UTC 2010
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
More information about the freebsd-bugs
mailing list