|Summary:||[rc.d] [patch] add multiple fib support (setfib) in /etc/rc.d/routing|
|Product:||Base System||Reporter:||Mark Harrison <mark>|
|Component:||conf||Assignee:||Hiroki Sato <hrs>|
|Severity:||Affects Only Me||CC:||olivier|
Description Mark Harrison 2010-04-06 21:30:06 UTC
It is not possible to set up static/default routes for alternate fib on startup via rc.conf. The current method is to use rc.local and manually run 'setfib <n> route add ...' Fix: This patch adds support for setting up static routes in alternate fibs in rc.conf. For fibs other than 0, append _fib<n> to the relevant configuration options normally dealt with by the routing rc script. E.g. static_routes_fib1="foo bar" defaultrouter_fib1="10.0.0.1" This requires that multiple fib support be compiled into the kernel. In addition, the stop function flushes routes for all fibs on the system. Patch attached with submission follows: How-To-Repeat: Recompile the kernel with multiple fib support (sysctl net.fibs should be > 1). Try to set up static routes for a fib > 0.
Comment 1 Mark Linimon 2010-04-07 00:17:03 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-rc Over to maintainer(s).
Comment 2 Hiroki Sato 2012-01-23 04:47:04 UTC
Responsible Changed From-To: freebsd-rc->hrs I'll take this.
Comment 3 Olivier Cochard 2016-03-14 15:17:40 UTC
Any news about integrating this patch ?
Comment 4 Eitan Adler 2018-05-28 19:44:32 UTC
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.