setfib not ready ?

Andrew Thompson thompsa at
Tue Dec 9 05:57:03 UTC 2008

On Tue, Dec 09, 2008 at 08:51:36AM +0300, Ole Vole wrote:
> Hello maillist,
> i want looking for multiple route table in HEAD. So, i try
> setfib -F 1 route add default
> setfib -F 1 netstat -rn
> but it return:
> setfib: 1: invalid FIB (max 0)
> (setfib -F 0 work correct- with netstat -rn print my default route table)
> sysctl: oid 'net.fibs' is read only for
> sysctl -w net.fibs=2
> however in the case seting net.fibs at loader stage (loader.conf) it not 
> change something for adding route table.
> Is setfib(2) not ready for testing yet ? 

You can only use loader.conf to set the numbre of fibs to a lower number
than is compiled in to your kernel, use "options ROUTETABLES=2" in your
kernel config instead (or more than 2 if needed).


More information about the freebsd-current mailing list