Bug 149867

Summary: [patch] rc.fibs(5): new rc.d script to manage multiple FIBS (kern options ROUTETABLES)
Product: Base System Reporter: Allan Jude <freebsd>
Component: confAssignee: freebsd-bugs mailing list <bugs>
Status: Open ---    
Severity: Affects Only Me CC: emaste
Priority: Normal    
Version: 8.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Allan Jude 2010-08-22 05:40:01 UTC
When you use the kernel option ROUTETABLES to enable multiple FIBs, there
is not clean way to manage the static routes (including default gateway)
for those FIBs

this is an /etc/rc.d script to do that, based on /etc/rc.d/routing and
static_routes in /etc/rc.conf

Fix: in /etc/rc.conf or the like, configure like this:

fib_1_routes="default sitea"
fib_1_default="default 192.168.0.1"
fib_1_sitea="-net 192.168.1.0/24 192.168.0.2"

fib_2_routes="gate"
fib_2_gate="default 10.0.0.254"


Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-08-22 05:47:16 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

New script.  Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:33 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped