SETFIB(1) BSD General Commands Manual SETFIB(1)NAMEsetfib — execute a utility with an altered default network view
SYNOPSISsetfib [-F] fib utility [argument ...]
The setfib utility runs utility with an different routing table. The ta‐
ble number “fib” will be used by default for all sockets started by this
process or descendents.
The PATH environment variable is used to locate the requested utility if
the name contains no ‘/’ characters.
If utility is invoked, the exit status of setfib is the exit status of
An exit status of 126 indicates utility was found, but could not be exe‐
cuted. An exit status of 127 indicates utility could not be found.
Execute utility ‘netstat’ to view the second routing table.
setfib-F 1 netstat -rn
setfib 1 netstat -rn
setfib-1 netstat -rn
SEE ALSOsetfib(2), setsockopt(2)STANDARDS
The setfib utility is a FreeBSD specific extension, however many UNIX
like systems have an equivalent function.
The setfib utility appeared in FreeBSD 7.1.
BSD April 9, 2008 BSD