|SETFIB(1)||FreeBSD General Commands Manual||SETFIB(1)|
NAMEsetfib — execute a utility with an altered default network view
|setfib||[ -F] fib utility [ argument ...]|
DESCRIPTIONThe setfib utility runs another utility with a different routing table. The table number fib will be used by default for all sockets started by this process or descendants.
ENVIRONMENTThe PATH environment variable is used to locate the requested utility if the name contains no ‘
EXIT STATUSIf utility is invoked, the exit status of setfib is the exit status of utility.
An exit status of 126 indicates utility was found, but could not be executed. An exit status of 127 indicates utility could not be found.
EXAMPLESRun netstat(1) to view the second routing table.
setfib -F 1 netstat -rn
setfib 1 netstat -rn
setfib -1 netstat -rn
STANDARDSThe setfib utility is a FreeBSD specific extension. However, many UNIX-like systems have an equivalent function.
HISTORYThe setfib utility appeared in FreeBSD 7.1.
|October 20, 2008||FreeBSD|