Re: setfib not ready ?

From: Andrew Thompson <thompsa_at_FreeBSD.org>
Date: Mon, 8 Dec 2008 21:56:56 -0800
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 127.0.0.1
> 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).


Andrew
Received on Tue Dec 09 2008 - 04:57:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC