From owner-man-jp-reviewer@jp.freebsd.org  Fri Feb  4 21:59:07 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id VAA20109;
	Fri, 4 Feb 2000 21:59:07 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from mailgw1.be.to (mailgw1.be.to [210.235.212.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id VAA20104
	for <man-jp-reviewer@jp.freebsd.org>; Fri, 4 Feb 2000 21:59:06 +0900 (JST)
	(envelope-from okazaki@be.to)
Received: from mail1.be.to (point1.be.to [210.235.212.29])
	by mailgw1.be.to (8.9.3+3.2W/BETO.2.1-2000020313000035) with ESMTP id VAA29579
	for <man-jp-reviewer@jp.freebsd.org>; Fri, 4 Feb 2000 21:59:05 +0900
Received: from acidrain (ppp26-Mobara1.mtci.ne.jp [210.172.1.228])
	by mail1.be.to (8.8.8+3.0Wbeta13/BETO.2.0-1999110714000000) with SMTP id VAA22252
	for <man-jp-reviewer@jp.freebsd.org>; Fri, 4 Feb 2000 21:58:57 +0900
Received: (qmail 8027 invoked from network); 4 Feb 2000 12:58:41 -0000
Received: from localhost (HELO acidrain.localnet) (127.0.0.1)
  by localhost with SMTP; 4 Feb 2000 12:58:41 -0000
Date: Fri, 04 Feb 2000 21:58:39 +0900
Message-ID: <86n1phxgxs.wl@dolphin.be.to>
From: OKAZAKI Tetsurou <okazaki@be.to>
To: man-jp-reviewer@jp.freebsd.org
User-Agent: Wanderlust/2.2.16 (No Son Of Mine) SEMI/1.13.7 (Awazu)
 CLIME/1.13.6 (=?ISO-2022-JP?B?GyRCQ2YlTj4xGyhC?=) Emacs/20.5
 (i386--freebsd) MULE/4.0 (HANANOEN)
Organization: Unknown
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: man-jp-reviewer 1983
Subject: [man-jp-reviewer 1983] routed.8 (4.0-20000105-CURRENT update)
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: okazaki@be.to

$B$*$+$6$-$G$9!#(B

$BA02s$N(B grep.1 $B$N(B mail $B$,(B split $B$G=P$F$7$^$$!"<:Ni$7$^$7$?!#(B
$BBgJQCY$/$J$j$^$7$?$,!"(B routed.8 $B$N:9J,$G$9!#(B

$B5$$K$J$C$?E@(B:
 o -s $B%*%W%7%g%s$NDI2C$5$l$?@bL@J8$NCf$G(B "quite-mode" $B$H$$$&8@MU$,(B
   $B;H$o$l$F$$$^$9$,!"(B"quiet-mode" $B$N(B typo $B$+$b!)(B

 o 3-STABLE $B$NF|K\8lHG(B routed.8 $B$G$O!"0lIt$N(B .Op $B%^%/%m$,(B
   .OP $B$K$J$C$F$$$F!"!V=q<0!W$K(B [-P params] $B$,I=<($5$l$^$;$s!#(B
  -.OP Fl P Ar parms
  +.Op Fl P Ar parms

-- 
$B2,:jE/O/(B


--- ja_old/routed.8	Wed Jan 12 01:53:26 2000
+++ ja_new/routed.8	Fri Feb  4 20:25:44 2000
@@ -1,3 +1,5 @@
+.\" %FreeBSD: src/sbin/routed/routed.8,v 1.15 1999/11/15 02:53:31 kris Exp %
+.\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,59 +32,67 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)routed.8	8.2 (Berkeley) 12/11/93
-.\" %FreeBSD: src/sbin/routed/routed.8,v 1.11.2.1 1999/08/29 15:15:31 peter Exp %
+.\"
+.\" %FreeBSD: src/sbin/routed/routed.8,v 1.15 1999/11/15 02:53:31 kris Exp %
 .\"
 .\" jpman %Id: routed.8,v 1.2 1997/03/31 14:11:11 horikawa Stab %
 .\"
+.\" WORD: route			$B7PO)(B
+.\" WORD: default route		$B%G%U%)%k%H%k!<%H(B
+.\" WORD: host route		$B%[%9%H%k!<%H(B
+.\" WORD: network route		$B%M%C%H%o!<%/%k!<%H(B
+.\" WORD: point-to-point route	point-to-point $B%k!<%H(B
 .Dd June 1, 1996
 .Dt ROUTED 8
 .Os BSD 4.4
 .Sh $BL>>N(B
-.Nm routed
+.Nm routed ,
+.Nm rdisc
 .Nd $B%M%C%H%o!<%/$N(B RIP $B$H(B router discovery $B$N%k!<%F%#%s%0%G!<%b%s(B
 .Sh $B=q<0(B
-.Nm
-.Op Fl sqdghmpAt
+.Nm routed
+.Op Fl sqdghmpAtv
 .Op Fl T Ar tracefile
 .Oo
 .Fl F
 .Ar net Ns Op /mask Ns Op ,metric
 .Oc
-.OP Fl P Ar parms
+.Op Fl P Ar parms
 .Sh $B2r@b(B
 .Nm
 $B$O%M%C%H%o!<%/$N%k!<%F%#%s%0%F!<%V%k$r4IM}$9$k%G!<%b%s$G!"(B
 $B%7%9%F%`$N%V!<%H;~$K5/F0$5$l$^$9!#(B
-$B$3$l$O!"%+!<%M%k$N%k!<%F%#%s%0%F!<%V%k$r4IM}$9$k$?$a$K!"(B
+$B%G!<%b%s$O%+!<%M%k$N%k!<%F%#%s%0%F!<%V%k$r4IM}$9$k$?$a$K!"(B
 $B%k!<%F%#%s%0>pJs%W%m%H%3%k(B (Routing Information Protocol) $B$N(B
-RIPv1 (RFC\ 1058)$B!"(BRIPv2 (RFC\ 1723)$B!"$*$h$S(B
+RIPv1 (RFC\ 1058), RIPv2 (RFC\ 1723) $B$*$h$S(B
 Internet Router Discovery Protocol (RFC 1256) $B$rMQ$$$^$9!#(B
-RIPv1 $B%W%m%H%3%k$O(B 4.3BSD $B$N%G!<%b%s$N$b$N$r%Y!<%9$H$7$F$$$^$9!#(B
+RIPv1 $B%W%m%H%3%k$O(B
+.Bx 4.3
+$B$N%G!<%b%s$N$b$N$r%Y!<%9$H$7$F$$$^$9!#(B
 .Pp
-.Nm
-$B$O!"%k!<%F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%$%s%?%U%'!<%9$NB>$NItJ,$,@\B3$5$l$F$$$J$$$+2u$l$F$$$k(B
 $B$H$_$J$5$l!"$=$N7PO)$OE,@Z$KJQ99$5$l$^$9!#(B
 .Pp
 .Em Internet Router Discovery Protocol
-$B$bF1MM$K07$o$l$^$9!#%G!<%b%s$,(B RIP $B$N7PO)$rG[$C$F$$$k;~$O!"(BRouter Discovery
+$B$bF1MM$K07$o$l$^$9!#%G!<%b%s$,(B RIP $B$N7PO)$rG[$C$F$$$k;~$O!"(B Router Discovery
 $B$NMW5a$N(B listen $B$H(B Router Discovery $B$N9-9p$NAw?.$b9T$$$^$9!#(B
 $B%G!<%b%s$,@E$+$J>uBV$GB>$N(B RIP $B%k!<%?$+$i$N%Q%1%C%H$r(B listen $B$7$F$$$k;~$K$O!"(B
 Router Discovery $B$NMW5a$rAw?.$7$F!"(BRouter Discovery $B$N9-9p$r(B listen $B$7$^$9!#(B
-$B<u$1$?9-9p$,$h$$$b$N$G$"$l$P!"(B
+$B%G!<%b%s$O?.Mj$G$-$k9-9p$r<u?.$7$F!"$+$DJ#?t$N%[!<%`$r;}$?$J$$>l9g$K!"(B
 RIP $B%l%9%]%s%9$N%V%m!<%I%-%c%9%H$d%^%k%A%-%c%9%H$r(B listen $B$9$k$N$r$d$a$^$9!#(B
 $B8=:_MxMQCf$N%k!<%?$,;`$s$@>l9g$K>c32$N$"$k>uBV$+$iC;;~4V$G=$I|$G$-$k$h$&!"(B
 $B9-9p$5$l$F$$$k%k!<%?$N$$$/$D$+$rDI@W$7$^$9!#(B
-$B$b$7H/8+$7$F$"$k%k!<%?$,A4$F8+$($J$/$J$C$?>l9g$O!"(BRIP $B%l%9%]%s%9$N(B listen $B$r(B
-$B:F3+$7$^$9!#(B
+$B$b$7H/8+$7$F$*$$$?%k!<%?$,A4$F8+$($J$/$J$C$?>l9g!"%G!<%b%s$O(B
+RIP $B%l%9%]%s%9$N(B listen $B$r:F3+$7$^$9!#(B
+$B%G!<%b%s$O!"J#?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J#?t$N%[!<%`$r;}$D%[%9%H$G(B
-.Fl q
+$B$3$N$?$a!"J#?t$N%[!<%`$r;}$D%[%9%H$G(B \f3\-q\f1
 $B$D$-$GF0:n$7$F$$$k$b$N$O!"(B
 $B0J2<$K<($9(B
 .Cm no_rdisc
@@ -216,11 +231,12 @@
 .Pp
 $B%G%U%)%k%H$G$O!"(Bpoint to point $B%j%s%/(B ($B$?$H$($P(B PPP) $B$K$O(B Router Discovery
 $B$N9-9p$bMW5a$bAw?.$5$l$^$;$s!#(B
-point-to-point $B%j%s%/(B (SLIP $B$d(B PPP $B$J$I$N$h$&$J!"(BIFF_POINTOPOINT $B%U%i%0(B
-$B$N$D$$$?$b$N(B) $B$N%M%C%H%^%9%/$O!"(B
-RIPv1 $BMxMQ;~$K$O$=$N%M%C%H%^%9%/$,%j%b!<%H%7%9%F%`$GMxMQ$5$l$k$H(B
 .Nm
-$B$O?dB,$7$^$9!#(B
+$B$O!"(B
+point-to-point $B%j%s%/(B (SLIP $B$d(B PPP $B$N$h$&$J!"(BIFF_POINTOPOINT $B%U%i%0(B
+$B$N$D$$$?$b$N(B) $B$N%M%C%H%^%9%/$r;HMQ$7$F!"(B
+RIPv1 $BMxMQ;~$K%j%b!<%H%7%9%F%`$G;H$o$l$F$$$k%M%C%H%^%9%/$r(B
+$B?dDj$7$^$9!#(B
 .Pp
 $B0J2<$N%*%W%7%g%s$r;HMQ2DG=$G$9(B:
 .Bl -tag -width indent
@@ -228,12 +244,14 @@
 .Nm
 $B$O6/@)E*$K%k!<%F%#%s%0>pJs$rDs6!$7$^$9!#(B
 $B$3$l$O!"(BRIP $B$d(B Router Discovery $B$rL58z$K$7$F$$$J$$>uBV$GJ#?t$N(B
-$B%M%C%H%o!<%/%$%s%?%U%'!<%9$,Ds6!$5$l$F$*$j!"%+!<%M%k$,(B ipforwarding=1 $B$K(B
+$B%M%C%H%o!<%/%$%s%?%U%'!<%9$,B8:_$7!"%+!<%M%k$,(B ipforwarding=1 $B$K(B
 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!<%b%s$H$7$FF0:n$7$^$9!#(B
 .Pp
 .Cm rdisc_adv
 $B$^$?$O(B
@@ -529,19 +575,22 @@
 $B$GL@<(E*$K(B Router Discovery $B$N9-9p$r9T$&$h$&$K;X<($;$:$K(B RIP $B$r(B
 $B9T$o$J$$$h$&$K$9$k$H!"(B
 .Nm
-$B$O9-9p$r9T$o$J$$(B Router Discovery $B%G!<%b%s$H$7$FF/$/$3$H$KCm0U$7$F2<$5$$!#(B
+$B$O9-9p$r9T$o$J$$(B Router Discovery $B%G!<%b%s$H$7$FF0:n$9$k$3$H$KCm0U$7$F2<$5$$!#(B
+.It Cm no_rip_mcast
+RIPv2 $B%Q%1%C%H$r%^%k%A%-%c%9%H$;$:$K%V%m!<%I%-%c%9%H$7$^$9!#(B
 .It Cm no_ripv1_in
-$B<u?.$7$?(B RIPv1 $B%l%9%]%s%9$,L5;k$5$l$k$h$&$K$J$j$^$9!#(B
+$B<u?.$7$?(B RIPv1 $B%l%9%]%s%9$rL5;k$7$^$9!#(B
 .It Cm no_ripv2_in
-$B<u?.$7$?(B RIPv2 $B%l%9%]%s%9$,L5;k$5$l$k$h$&$K$J$j$^$9!#(B
+$B<u?.$7$?(B RIPv2 $B%l%9%]%s%9$rL5;k$7$^$9!#(B
 .It Cm ripv2_out
 $B2DG=$J>l9g$K%^%k%A%-%c%9%H$,$G$-$k$h$&!"(B
-RIPv1 $B$N=PNO$O9T$o$:!"(BRIPv2 $B$K$h$k9-9p$r9T$$$^$9!#(B
+RIPv2 $B$N=PNO$rM-8z$K$7$F(B RIPv2 $B$K$h$k9-9p$r9T$$$^$9!#(B
 .It Cm ripv2
 .Cm no_ripv1_in
 $B$H(B
 .Cm no_ripv1_out
 $B$r;XDj$7$?>l9g$HF1$8$G$9!#(B
+RIPv2 $B$rM-8z$K$7$^$9!#(B
 .It Cm no_rdisc
 Internet Router Discovery Protocol $B$rL58z$K$7$^$9!#(B
 .It Cm no_solicit
@@ -557,16 +606,19 @@
 Router Discovery $B$N9-9p$rAw?.$7$^$9!#(B
 $B%G%U%)%k%H$G$O(B Router Discovery $B$N%a%C%;!<%8$rJ9$/$@$1$G$9!#(B
 .It Cm bcast_rdisc
-Router Discovery $B$N%Q%1%C%H$r%^%k%A%-%c%9%H$9$kBe$j$K%V%m!<%I%-%c%9%H$7$^$9!#(B
+Router Discovery $B$N%Q%1%C%H$r%^%k%A%-%c%9%H$;$:$K%V%m!<%I%-%c%9%H$7$^$9!#(B
 .It Cm rdisc_pref Ns \&= Ns Ar N
 Router Discovery $B$N9-9p$NM%@hEY$r@0?t(B
 .Ar N
-$B$K$7$^$9!#(B
+$B$K@_Dj$7$^$9!#(B
+$BM%@hEY$N%G%U%)%k%H$O(B 0 $B$G$9!#(B
+$B%/%i%$%"%s%H$O!"(B
+$B$h$j>.$5$J!"$"$k$$$O$h$jIi$NM%@hEY$r;}$D%G%U%)%k%H%k!<%H$rA*Br$7$^$9!#(B
 .It Cm rdisc_interval Ns \&= Ns Ar N
-Router Discovery $B$N9-9p$r9T$&>e$G$NL>L\$NAw?.4V3V$r(B N $B$K$7!"$=$N@8B84|4V$r(B
-3*N $B$K$7$^$9!#(B
+Router Discovery $B$N9-9p$r9T$&>e$G$NL>L\$NAw?.4V3V$r(B N $BIC$K@_Dj$7!"(B
+$B$=$NB8B34|4V$r(B 3*N $B$K$7$^$9!#(B
 .It Cm fake_default Ns \&= Ns Ar metric
-$B;XDj$7$?%$%s%?%U%'!<%9$N%M%C%H%o!<%/$H%M%C%H%^%9%/$r;H$C$F(B
+$B;XDj$7$?%$%s%?%U%'!<%9$N%M%C%H%o!<%/$H%M%C%H%^%9%/$rMQ$$$F(B
 .Fl F Ar net[/mask][=metric]
 $B$r;XDj$7$?>l9g$HF1$8$G$9!#(B
 .It Cm pm_rdisc
@@ -577,16 +629,18 @@
 .Cm fake_default
 $B$GJQ99$7$J$$8B$j!"(B
 $B%G%U%)%k%H%k!<%H$O(B metric 14 $B$G%V%m!<%I%-%c%9%H$5$l$^$9!#(B
-$B$3$l$O(B "$BG=NO$NDc$$(B router discovery" $B%W%m%H%3%k$rDs6!$9$k$3$H$K$J$j$^$9!#(B
-.It Cm trust_gateway Ns \&= Ns Ar rname
+$B$3$l$O(B "$B0B>e$,$j$J(B router discovery" $B%W%m%H%3%k$rDs6!$9$k$3$H$K$J$j$^$9!#(B
+.It Cm trust_gateway Ns \&= Ns Ar rname[|net1/mask1|net2/mask2|...]
 $B;XDj$7$?%k!<%?$dB>$N(B
 .Cm trust_gateway
 $B%-!<%o!<%I$G;XDj$7$?%k!<%?$+$i$N(B RIP $B%Q%1%C%H$r<u$1IU$1!"(B
-$B$3$l$i0J30$+$i$N%Q%1%C%H$OL5;k$9$k$h$&$K$J$j$^$9!#(B
+$B$3$l$i0J30$N%k!<%?$+$i$N%Q%1%C%H$rL5;k$7$^$9!#(B
+$B%M%C%H%o!<%/$r;XDj$7$?>l9g!"B>$N%M%C%H%o!<%/$X$N7PO)$O(B
+$B;XDj$7$?%k!<%?$+$i$OL5;k$5$l$^$9!#(B
 .It Cm redirect_ok
 $B%7%9%F%`$,%k!<%?$H$7$FF0:n$7$F%Q%1%C%H$N%U%)%o!<%I$r9T$C$F$$$k>l9g$K!"(B
 RIP $B$,(B ICMP Redirect $B%a%C%;!<%8$r5v2D$9$k$h$&$K$J$j$^$9!#(B
-$B$=$&$G$J$1$l$P!"(BICMP Redirect $B%a%C%;!<%8$O>e=q$-$5$l$^$9!#(B
+$B$=$&$G$J$1$l$P!"(BICMP Redirect $B%a%C%;!<%8$OL58z$K$5$l$^$9!#(B
 .El
 .Pp
 .Sh $B4XO"%U%!%$%k(B
@@ -597,7 +651,6 @@
 .Sh $B4XO"9`L\(B
 .Xr icmp 4 ,
 .Xr udp 4 ,
-.Xr gated 8 ,
 .Xr rtquery 8
 .Rs
 .%T Internet Transport Protocols
@@ -605,8 +658,8 @@
 .%Q Xerox System Integration Standard
 .Re
 .Sh $B%P%0(B
-$B%M%C%H%o!<%/%$%s%?%U%'!<%9$N0lJ}8~$N<:GT(B
-($BNc$($P!"=PNOJ}8~$K$N$_<:GT$9$k$J$I(B) $B$r>o$K8!=P$G$-$k$H$O8B$j$^$;$s!#(B
+$B=PNOJ}8~$K$N$_<:GT$9$k$J$I$N!"%M%C%H%o!<%/%$%s%?%U%'!<%9$N0lJ}8~$N<:GT(B
+$B$r>o$K8!=P$G$-$k$H$O8B$j$^$;$s!#(B
 .Sh $BNr;K(B
 .Nm
 $B%3%^%s%I$O(B

--- en_old/routed.8-f340r	Wed Jan 12 02:11:17 2000
+++ en_new/routed.8-fbsd4.0-20000105	Wed Jan 12 02:14:55 2000
@@ -1,3 +1,5 @@
+.\" $FreeBSD: src/sbin/routed/routed.8,v 1.15 1999/11/15 02:53:31 kris Exp $
+.\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,17 +32,19 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)routed.8	8.2 (Berkeley) 12/11/93
-.\" $FreeBSD: src/sbin/routed/routed.8,v 1.11.2.1 1999/08/29 15:15:31 peter Exp $
+.\"
+.\" $FreeBSD: src/sbin/routed/routed.8,v 1.15 1999/11/15 02:53:31 kris Exp $
 .\"
 .Dd June 1, 1996
 .Dt ROUTED 8
 .Os BSD 4.4
 .Sh NAME
-.Nm routed
+.Nm routed ,
+.Nm rdisc
 .Nd network RIP and router discovery routing daemon
 .Sh SYNOPSIS
 .Nm routed
-.Op Fl sqdghmAt
+.Op Fl sqdghmpAtv
 .Op Fl T Ar tracefile
 .Oo
 .Fl F
@@ -55,7 +59,9 @@
 RIPv2 (RFC\ 1723),
 and Internet Router Discovery Protocol (RFC 1256)
 to maintain the kernel routing table.
-The RIPv1 protocol is based on the reference 4.3BSD daemon.
+The RIPv1 protocol is based on the reference
+.Bx 4.3
+daemon.
 .Pp
 It listens on the
 .Xr udp 4
@@ -116,7 +122,7 @@
 so setting the metric on an interface
 is an effective way to steer traffic.
 .Pp
-Responses do not contain routes with a first hop on the requesting
+Responses do not include routes with a first hop on the requesting
 network to implement in part
 .Em split-horizon .
 Requests from query programs
@@ -152,7 +158,7 @@
 is set to infinity and marked for deletion.
 Deletions are delayed until the route has been advertised with
 an infinite metric to insure the invalidation
-is propagated throughout the local Internet.
+is propagated throughout the local internet.
 This is a form of
 .Em poison reverse .
 .Pp
@@ -180,7 +186,7 @@
 If no response is received on a remote interface, if there are errors
 while sending responses,
 or if there are more errors than input or output (see
-.Xr netstat 8 ),
+.Xr netstat 1 ),
 then the cable or some other part of the interface is assumed to be
 disconnected or broken, and routes are adjusted appropriately.
 .Pp
@@ -189,15 +195,17 @@
 is handled similarly.
 When the daemon is supplying RIP routes, it also listens for
 Router Discovery Solicitations and sends Advertisements.
-When it is quiet and only listening to other RIP routers, it
+When it is quiet and listening to other RIP routers, it
 sends Solicitations and listens for Advertisements.
 If it receives
-a good Advertisement, it stops listening for broadcast or multicast
-RIP responses.
+a good Advertisement and it is not multi-homed,
+it stops listening for broadcast or multicast RIP responses.
 It tracks several advertising routers to speed recovery when the
 currently chosen router dies.
 If all discovered routers disappear,
 the daemon resumes listening to RIP responses.
+It continues listening to RIP while using Router Discovery
+if multi-homed to ensure all interfaces are used.
 .Pp
 The Router Discovery standard requires that advertisements
 have a default "lifetime" of 30 minutes.  That means should
@@ -217,9 +225,7 @@
 redirected host routes in the kernel table.
 On a host with more than one network interface,
 this default route will be via only one of the interfaces.
-Thus, multi-homed hosts running with
-.Fl q
-might need
+Thus, multi-homed hosts running with \f3\-q\f1 might need
 .Cm no_rdisc
 described below.
 .Pp
@@ -238,22 +244,24 @@
 The following options are available:
 .Bl -tag -width indent
 .It Fl s
-Force
+force
 .Nm
 to supply routing information.
 This is the default if multiple network interfaces are present on which
 RIP or Router Discovery have not been disabled, and if the kernel switch
 ipforwarding=1.
 .It Fl q
-Is the opposite of the
+is the opposite of the
 .Fl s
 option.
 This is the default when only one interface is present.
+With this explicit option, the daemon is always in "quite-mode" for RIP
+and does not supply routing information to other computers.
 .It Fl d
-Do not run in the background.
+do not run in the background.
 This option is meant for interactive use.
 .It Fl g
-Used on internetwork routers to offer a route
+used on internetwork routers to offer a route
 to the "default" destination.
 It is equivalent to
 .Fl F
@@ -266,23 +274,23 @@
 in the
 .Pa /etc/gateways
 file.
-Since a larger metric
+since a larger metric
 will be used, reducing the spread of the potentially dangerous
 default route.
 This is typically used on a gateway to the Internet,
 or on a gateway that uses another routing protocol whose routes
 are not reported to other local routers.
 Notice that because a metric of 1 is used, this feature is
-dangerous.  It is more commonly accidentally used to create chaos with routing
-loop than to solve problems.
+dangerous.  It is more commonly accidentally used to create chaos with a
+routing loop than to solve problems.
 .It Fl h
-Cause host or point-to-point routes to not be advertised,
+cause host or point-to-point routes to not be advertised,
 provided there is a network route going the same direction.
 That is a limited kind of aggregation.
 This option is useful on gateways to Ethernets that have other gateway
 machines connected with point-to-point links such as SLIP.
 .It Fl m
-Cause the machine to advertise a host or point-to-point route to
+cause the machine to advertise a host or point-to-point route to
 its primary interface.
 It is useful on multi-homed machines such as NFS servers.
 This option should not be used except when the cost of
@@ -296,20 +304,14 @@
 .Fl q
 option to the limited extent of advertising the host route.
 .It Fl A
-Do not ignore RIPv2 authentication if we do not care about RIPv2
+do not ignore RIPv2 authentication if we do not care about RIPv2
 authentication.
 This option is required for conformance with RFC 1723.
 However, it makes no sense and breaks using RIP as a discovery protocol
 to ignore all RIPv2 packets that carry authentication when this machine
 does not care about authentication.
-.It Fl T Ar tracefile
-Increase the debugging level to at least 1 and
-causes debugging information to be appended to the trace file.
-Note that because of security concerns, it is wisest to not run
-.Nm
-routinely with tracing directed to a file.
 .It Fl t
-Increase the debugging level, which causes more information to be logged
+increase the debugging level, which causes more information to be logged
 on the tracefile specified with
 .Fl T
 or standard out.
@@ -321,8 +323,16 @@
 signals or with the
 .Xr rtquery 8
 command.
+.It Fl T Ar tracefile
+increases the debugging level to at least 1 and
+causes debugging information to be appended to the trace file.
+Note that because of security concerns, it is wisest to not run
+.Nm
+routinely with tracing directed to a file.
+.It Fl v
+display and logs the version of daemon.
 .It Fl F Ar net[/mask][,metric]
-Minimize routes in transmissions via interfaces with addresses that match
+minimize routes in transmissions via interfaces with addresses that match
 .Em net/mask ,
 and synthesizes a default route to this machine with the
 .Em metric .
@@ -333,7 +343,6 @@
 .Em metric
 is absent, a value of 14 is assumed to limit
 the spread of the "fake" default route.
-
 This is a dangerous feature that when used carelessly can cause routing
 loops.
 Notice also that more than one interface can match the specified network
@@ -341,7 +350,7 @@
 See also
 .Fl g .
 .It Fl P Ar parms
-Is equivalent to adding the parameter
+is equivalent to adding the parameter
 line
 .Em parms
 to the
@@ -397,10 +406,12 @@
 Such gateways can be useful on media that do not support broadcasts
 or multicasts but otherwise act like classic shared media like
 Ethernets such as some ATM networks.
-One can list all RIP routers reachable on the ATM network in
+One can list all RIP routers reachable on the HIPPI or ATM network in
 .Pa /etc/gateways
 with a series of
 "host" lines.
+Note that it is usually desirable to use RIPv2 in such situations
+to avoid generating lists of inferred host routes.
 .Pp
 Gateways marked
 .Em external
@@ -409,7 +420,7 @@
 The function of external entries is to indicate
 that another routing process
 will install such a route if necessary,
-and that alternate routes to that destination should not be installed
+and that other routes to that destination should not be installed
 by
 .Nm Ns .
 Such entries are only required when both routers may learn of routes
@@ -418,7 +429,8 @@
 The
 .Pa /etc/gateways
 file is comprised of a series of lines, each in
-one of the following formats or consist of parameters described below:
+one of the following two formats or consist of parameters described later.
+Blank lines and lines starting with '#' are comments.
 .Pp
 .Bd -ragged
 .Cm net
@@ -488,6 +500,15 @@
 .Cm external
 to the scope of the RIP protocol.
 .Pp
+As can be seen when debugging is turned on with
+.Fl t ,
+such lines create pseudo-interfaces.
+To set parameters for remote or external interfaces,
+a line starting with
+.Cm if=alias(Hname) ,
+.Cm if=remote(Hname) ,
+etc. should be used.
+.Pp
 Lines that start with neither "net" nor "host" must consist of one
 or more of the following parameter settings, separated by commas or
 blanks:
@@ -504,14 +525,21 @@
 and the supplied metric (default 1).
 This is useful for filling "holes" in CIDR allocations.
 This parameter must appear by itself on a line.
+The network number must specify a full, 32-bit value, as in 192.0.2.0
+instead of 192.0.2.
 .Pp
 Do not use this feature unless necessary.  It is dangerous.
-.It Cm passwd Ns \&= Ns Ar XXX
-specifies a RIPv2 password that will be included on all RIPv2
-responses sent and checked on all RIPv2 responses received.
-The password must not contain any blanks, tab characters, commas
-or '#' characters.
-.It Cm passwd Ns \&= Ns Ar XXX1[|KeyID[start|stop]]
+.It Cm ripv1_mask Ns \&= Ns Ar nname/mask1,mask2
+specifies that netmask of the network of which
+.Cm nname/mask1\f1
+is
+a subnet should be
+.Cm mask2 .
+For example \f2ripv1_mask=192.0.2.16/28,27\f1 marks 192.0.2.16/28
+as a subnet of 192.0.2.0/27 instead of 192.0.2.0/24.
+It is better to turn on RIPv2 instead of using this facility, for example
+with \f2ripv2_out\f1.
+.It Cm passwd Ns \&= Ns Ar XXX[|KeyID[start|stop]]
 specifies a RIPv2 cleartext password that will be included on
 all RIPv2 responses sent, and checked on all RIPv2 responses received.
 Any blanks, tab characters, commas, or '#', '|', or NULL characters in the
@@ -533,15 +561,15 @@
 no password is output.
 Incoming packets can carry any password that is valid, will
 be valid within 24 hours, or that was valid within 24 hours.
-.It Cm md5_passwd Ns \&= Ns Ar XXX1|KeyID[start|stop]
+To protect the secrets, the passwd settings are valid only in the
+.Em /etc/gateways
+file and only when that file is readable only by UID 0.
+.It Cm md5_passwd Ns \&= Ns Ar XXX|KeyID[start|stop]
 specifies a RIPv2 MD5 password.
 Except that a
 .Cm KeyID
 is required, this keyword is similar to
 .Cm passwd .
-To protect the secrets, this parameter setting is valid only in the
-.Pa /etc/gateways
-file and only when that file is readable only by UID 0.
 .It Cm no_ag
 turns off aggregation of subnets in RIPv1 and RIPv2 responses.
 .It Cm no_super_ag
@@ -563,18 +591,21 @@
 causes
 .Nm
 to act as a client router discovery daemon, not advertising.
+.It Cm no_rip_mcast
+causes RIPv2 packets to be broadcast instead of multicast.
 .It Cm no_ripv1_in
 causes RIPv1 received responses to be ignored.
 .It Cm no_ripv2_in
 causes RIPv2 received responses to be ignored.
 .It Cm ripv2_out
-turns off RIPv1 output and causes RIPv2 advertisements to be
+turns on RIPv2 output and causes RIPv2 advertisements to be
 multicast when possible.
 .It Cm ripv2
 is equivalent to
 .Cm no_ripv1_in
 and
 .Cm no_ripv1_out .
+This enables RIPv2.
 .It Cm no_rdisc
 disables the Internet Router Discovery Protocol.
 .It Cm no_solicit
@@ -593,8 +624,12 @@
 specifies that Router Discovery packets should be broadcast instead of
 multicast.
 .It Cm rdisc_pref Ns \&= Ns Ar N
-sets the preference in Router Discovery Advertisements to the integer
+sets the preference in Router Discovery Advertisements to the optionally
+signed integer
 .Ar N .
+The default preference is 0.
+Default routes with smaller or more negative preferences are preferred by
+clients.
 .It Cm rdisc_interval Ns \&= Ns Ar N
 sets the nominal interval with which Router Discovery Advertisements
 are transmitted to N seconds and their lifetime to 3*N.
@@ -612,15 +647,17 @@
 .Cm fake_default ,
 the default route is broadcast with a metric of 14.
 That serves as a "poor man's router discovery" protocol.
-.It Cm trust_gateway Ns \&= Ns Ar rname
+.It Cm trust_gateway Ns \&= Ns Ar rname[|net1/mask1|net2/mask2|...]
 causes RIP packets from that router and other routers named in
 other
 .Cm trust_gateway
-keywords to be accept, and packets from other routers to be ignored.
+keywords to be accepted, and packets from other routers to be ignored.
+If networks are specified, then routes to other networks will be ignored
+from that router.
 .It Cm redirect_ok
 causes RIP to allow ICMP Redirect messages when the system is acting
 as a router and forwarding packets.
-Otherwise, ICMP Redirect messages are are overridden.
+Otherwise, ICMP Redirect messages are overridden.
 .El
 .Pp
 .Sh FILES
@@ -631,16 +668,15 @@
 .Sh SEE ALSO
 .Xr icmp 4 ,
 .Xr udp 4 ,
-.Xr gated 8 ,
-.Xr rtquery 8
+.Xr rtquery 8 .
 .Rs
 .%T Internet Transport Protocols
 .%R XSIS 028112
 .%Q Xerox System Integration Standard
 .Re
 .Sh BUGS
-It does not always detect unidirectional failures in network interfaces
-(e.g., when the output side fails).
+It does not always detect unidirectional failures in network interfaces,
+for example, when the output side fails.
 .Sh HISTORY
 The
 .Nm
