Re: conf/145440: [rc.d] [patch] add multiple fib support (setfib
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
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 4 之 5 篇):