Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/route/route.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)route.8 8.3 (Berkeley) 3/19/94 | .\" @(#)route.8 8.3 (Berkeley) 3/19/94 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 11, 2014 | .Dd February 16, 2018 | ||||
.Dt ROUTE 8 | .Dt ROUTE 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm route | .Nm route | ||||
.Nd manually manipulate the routing tables | .Nd manually manipulate the routing tables | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl dnqtv | .Op Fl dnqtv | ||||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
.Fl inet6 | .Fl inet6 | ||||
modifiers. | modifiers. | ||||
When a | When a | ||||
.Fl fib | .Fl fib | ||||
option is specified, the operation will be applied to | option is specified, the operation will be applied to | ||||
the specified FIB | the specified FIB | ||||
.Pq routing table . | .Pq routing table . | ||||
.Pp | .Pp | ||||
The other commands have the following syntax: | The add command has the following syntax: | ||||
.Pp | .Pp | ||||
.Bd -ragged -offset indent -compact | .Bd -ragged -offset indent -compact | ||||
.Nm | .Nm | ||||
.Op Fl n | .Op Fl n | ||||
.Ar command | .Cm add | ||||
.Op Fl net No \&| Fl host | .Op Fl net No \&| Fl host | ||||
.Ar destination gateway | .Ar destination gateway | ||||
.Op Ar netmask | .Op Ar netmask | ||||
.Op Fl fib Ar number | |||||
.Ed | |||||
.Pp | |||||
and the other commands have the following syntax: | |||||
.Pp | |||||
.Bd -ragged -offset indent -compact | |||||
.Nm | |||||
.Op Fl n | |||||
.Ar command | |||||
.Op Fl net No \&| Fl host | |||||
.Ar destination | |||||
.Op Ar gateway Op Ar netmask | |||||
.Op Fl fib Ar number | .Op Fl fib Ar number | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
where | where | ||||
.Ar destination | .Ar destination | ||||
is the destination host or network, | is the destination host or network, | ||||
.Ar gateway | .Ar gateway | ||||
is the next-hop intermediary via which packets should be routed. | is the next-hop intermediary via which packets should be routed. | ||||
▲ Show 20 Lines • Show All 323 Lines • Show Last 20 Lines |