Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SETFIB(1)		FreeBSD	General	Commands Manual		     SETFIB(1)

NAME
     setfib -- execute a utility with an altered default network view

SYNOPSIS
     setfib [-F] fib utility [argument ...]

DESCRIPTION
     The 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.

ENVIRONMENT
     The PATH environment variable is used to locate the requested utility if
     the name contains no `/' characters.

EXIT STATUS
     If	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 exe-
     cuted.  An	exit status of 127 indicates utility could not be found.

EXAMPLES
     Run netstat(1) to view the	second routing table.

	   setfib -F 1 netstat -rn
     or
	   setfib 1 netstat -rn
     or
	   setfib -1 netstat -rn

SEE ALSO
     setfib(2),	setsockopt(2)

STANDARDS
     The setfib	utility	is a FreeBSD specific extension.  However, many
     UNIX-like systems have an equivalent function.

HISTORY
     The setfib	utility	appeared in FreeBSD 7.1.

FreeBSD	13.0		       October 20, 2008			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT | EXIT STATUS | EXAMPLES | SEE ALSO | STANDARDS | HISTORY

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=setfib&sektion=1&manpath=FreeBSD+13.2-RELEASE+and+Ports>

home | help