summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-02-22 02:02:25 +0000
committermiod <miod@openbsd.org>2002-02-22 02:02:25 +0000
commitd3d8e429222f87964fb9bec7fea5b4f322c55ff8 (patch)
tree22652f7031c288060435564d6c7b35708d511976
parentCheck the right return value in the second mmap. (diff)
downloadwireguard-openbsd-d3d8e429222f87964fb9bec7fea5b4f322c55ff8.tar.xz
wireguard-openbsd-d3d8e429222f87964fb9bec7fea5b4f322c55ff8.zip
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