Bug 149867 - [patch] rc.fibs(5): new rc.d script to manage multiple FIBS (kern options ROUTETABLES)
Summary: [patch] rc.fibs(5): new rc.d script to manage multiple FIBS (kern options ROU...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 05:40 UTC by Allan Jude
Modified: 2019-06-05 17:23 UTC (History)
1 user (show)

See Also:


Attachments
file.txt (1005 bytes, text/plain)
2010-08-22 05:40 UTC, Allan Jude
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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