summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-02-22 02:02:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-02-22 02:02:26 +0000
commit35f24a4fed11bf7d1d55bd72960826733a40be89 (patch)
treef927cdd0742294fbfe49e03acd8da6658ec0b466
parent169a60df9e67536568b3abed6a396f524aa4d618 (diff)
Attempt to document the multicast routing configuration here, rather than
having people read the comments in /etc/netstart. Add more Xr in the way.
-rw-r--r--share/man/man8/netstart.846
1 files changed, 44 insertions, 2 deletions
diff --git a/share/man/man8/netstart.8 b/share/man/man8/netstart.8
index a5a31c47b23..0213988a418 100644
--- a/share/man/man8/netstart.8
+++ b/share/man/man8/netstart.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstart.8,v 1.1 2002/02/21 02:36:09 miod Exp $
+.\" $OpenBSD: netstart.8,v 1.2 2002/02/22 02:02:25 miod Exp $
.\"
.\" Copyright (c) 2002, Miodrag Vallat.
.\" All rights reserved.
@@ -80,18 +80,60 @@ After the system is completely initialized, it is possible to start a
newly-created interface or
.Xr bridge 4 ,
or reset an existing interface to its default state, by invoking
-.Bd -literal -compact
+.Bd -literal -offset indent -compact
sh /etc/netstart foo0
.Ed
where
.Ar foo0
is the interface or bridge name.
+.Sh MULTICAST ROUTING
+Routing to the 224.0.0.0/4 net is setup using values from
+.Pa /etc/rc.conf
+according to these rules:
+.Bl -bullet -compact
+.It
+If the multicast settings are as follows:
+.Bd -literal -offset indent -compact
+multicast_host=NO
+multicast_router=NO
+.Ed
+then multicast routing will not be enabled.
+.It
+If the multicast settings are as follows:
+.Bd -literal -offset indent -compact
+multicast_host=NO
+multicast_router=YES
+.Ed
+then multicast routing will be enabled, but no multicast route will be set up.
+It is expected that a routing daemon, such as
+.Xr mrouted 8 ,
+will be started as well.
+.It
+If the multicast settings are as follows:
+.Bd -literal -offset indent -compact
+multicast_host=YES
+multicast_router=NO
+.Ed
+or:
+.Bd -literal -offset indent -compact
+multicast_host=foo0 # interface name
+multicast_router=NO
+.Ed
+then multicast routing will be enabled, using the default interface,
+or the interface name specified by
+.Va multicast_host .
+.It
+Other cases are configuration errors and will cause multicast routing not to be
+enabled.
+.El
.Sh SEE ALSO
.Xr bridge 4 ,
.Xr bridgename.if 5 ,
+.Xr dhcp 8 ,
.Xr gif 4 ,
.Xr gre 4 ,
.Xr hostname.if 5 ,
+.Xr mrouted 8 ,
.Xr rc.conf 8 ,
.Xr rc 8
.Sh HISTORY