explain assumptions about dotted number internet notation
SCCS-vsn: sbin/route/route.8 6.6
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.\" @(#)route.8 6.5 (Berkeley) %G%
+.\" @(#)route.8 6.6 (Berkeley) %G%
+.B -n
+]
+.B monitor
+.PP
+The flush command has the syntax
+.ti +0.25i
+.B route
+[
+.B -n
+[
+.B -n
+]
+.B flush
+[
+.I family
+]
+.PP
+where the address family may be specified by any of the
+.BR -osi ,
+.BR -xns ,
+or
+.B -inet
+keywords.
.PP
The other commands have the following syntax:
.PP
.PP
The other commands have the following syntax:
.PP
.B -host
]
.I destination gateway
.B -host
]
.I destination gateway
.I destination
is the symbolic name of a network, then the route is
assumed to be to a network; otherwise, it is presumed to be a
.I destination
is the symbolic name of a network, then the route is
assumed to be to a network; otherwise, it is presumed to be a
-route to a host. If the route is via an interface rather than
+route to a host.
+.PP
+For example,
+128.32 is interpreted as
+.I -host
+128.0.0.32,
+128.32.130 is interpreted as
+.I -host
+128.32.0.130;
+.I -net 128.32
+is interpreted as
+128.32.0.0,
+and
+.I -net 128.32.130
+is interpreted as
+128.32.130.0.
+.PP
+If the route is via an interface rather than
via a gateway, the
.I -interface
modifier should be specified;
via a gateway, the
.I -interface
modifier should be specified;
specify that all subsequent addresses are in the XNS or OSI address families,
and the names must be numeric specifications rather than
symbolic names.
specify that all subsequent addresses are in the XNS or OSI address families,
and the names must be numeric specifications rather than
symbolic names.
-For OSI addresses a third parameter is the address mask,
-as given in an ESIS redirect.
-(preceded by the -netmask modifier)
+To acheieve the effect of an OSI ESIS redirect with the netmask option,
+one can specify
+.I -netmask
+qualifier followed by an OSI address (to be interpreted as a network mask).
+One can override the implicit network mask generated in the inet case
+by making sure this option follows the destination parameter.
+.PP
+The optional modifiers
+.IR -rtt ,
+.IR -rttvar ,
+.IR -sendpipe ,
+.IR -recvpipe ,
+.IR -mtu ,
+.IR -hopcount ,
+.IR -expire ,
+and
+.I -ssthresh
+provide initial values to metrics maintained in the routing entry.
+These may be individually locked by preceding each such modifier to
+be locked by
+the
+.I -lock
+meta-modifier, or one can
+specify that all ensuing metrics may be locked by the
+.I -lockrest
+meta-modifier.
.PP
All symbolic names specified for a
.I destination
.PP
All symbolic names specified for a
.I destination
.PP
.I Route
uses a routing socket and the new message types
.PP
.I Route
uses a routing socket and the new message types
+RTM_ADD, RTM_DELETE, and RTM_CHANGE.
As such, only the super-user may modify
the routing tables.
.PP
As such, only the super-user may modify
the routing tables.
.PP
.B \-n
option prevents attempts to print host and network names symbolically
when reporting actions.
.B \-n
option prevents attempts to print host and network names symbolically
when reporting actions.
+The
+.B \-v
+option causes additional details to be printed.
+The
+.B \-q
+option supresses all output.
.SH DIAGNOSTICS
``\fBadd [ host | network ] %s: gateway %s flags %x\fP''
.br
.SH DIAGNOSTICS
``\fBadd [ host | network ] %s: gateway %s flags %x\fP''
.br