Mention the special destination "default" for default routes. Fix a

couple of formatting bugs.

PR:		docs/9960
This commit is contained in:
Guy Helmer 1999-05-04 18:41:32 +00:00
parent 768229abb0
commit 78c6551783
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46436

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)route.8 8.3 (Berkeley) 3/19/94 .\" @(#)route.8 8.3 (Berkeley) 3/19/94
.\" $Id: route.8,v 1.11 1997/06/18 06:30:34 charnier Exp $ .\" $Id: route.8,v 1.12 1998/07/28 06:25:33 charnier Exp $
.\" .\"
.Dd March 19, 1994 .Dd March 19, 1994
.Dt ROUTE 8 .Dt ROUTE 8
@ -149,8 +149,11 @@ and
force the destination to be interpreted as a network or a host, respectively. force the destination to be interpreted as a network or a host, respectively.
Otherwise, if the Otherwise, if the
.Ar destination .Ar destination
has a ``local address part'' of has a
INADDR_ANY , .Dq local address part
of
INADDR_ANY
.Pq Li 0.0.0.0 ,
or if the or if the
.Ar destination .Ar destination
is the symbolic name of a network, then the route is is the symbolic name of a network, then the route is
@ -172,6 +175,14 @@ and
is interpreted as is interpreted as
.Li 128.32.130.0 . .Li 128.32.130.0 .
.Pp .Pp
A
.Ar destination
of
.Ar default
is a synonym for
.Fl net Li 0.0.0.0 ,
which is the default route.
.Pp
If the destination is directly reachable If the destination is directly reachable
via an interface requiring via an interface requiring
no intermediary system to act as a gateway, the no intermediary system to act as a gateway, the
@ -297,7 +308,7 @@ If the gateway address used was not the primary address of the gateway
(the first one returned by (the first one returned by
.Xr gethostbyname 3 ) , .Xr gethostbyname 3 ) ,
the gateway address is printed numerically as well as symbolically. the gateway address is printed numerically as well as symbolically.
.It Sy "delete [ host &| network ] %s: gateway %s flags %x" .It Sy "delete [ host \&| network ] %s: gateway %s flags %x"
As above, but when deleting an entry. As above, but when deleting an entry.
.It Sy "%s %s done" .It Sy "%s %s done"
When the When the