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 (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-08-22 05:40 UTC by Allan Jude
Modified: 2022-10-17 12:40 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
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:33 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>