summaryrefslogtreecommitdiffstats
path: root/share/man/man5
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-06-18 01:28:33 +0000
committerbms <bms@FreeBSD.org>2004-06-18 01:28:33 +0000
commitc05c9743433f51e07655cee77b2fe501fc13fec4 (patch)
tree622555dbd450a5f1cbb6f0e9ad3c3822401c4198 /share/man/man5
parent1b1e48b58fb0621e3240e3e9fde41556f9469d01 (diff)
downloadFreeBSD-src-c05c9743433f51e07655cee77b2fe501fc13fec4.zip
FreeBSD-src-c05c9743433f51e07655cee77b2fe501fc13fec4.tar.gz
Add an example to rc.conf(5) about how to use the static_routes variable.
We already do this for jails and their various control variables. PR: conf/62772
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/rc.conf.56
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index a30e490..82a7628 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -1691,6 +1691,12 @@ variable is assumed to exist
whose contents will later be passed to a
.Dq Nm route Cm add
operation.
+For example:
+.Bd -literal
+static_routes="mcast gif0local"
+route_mcast="-net 224.0.0.0/4 -iface gif0"
+route_gif0local="-host 169.254.1.1 -iface lo0"
+.Ed
.It Va ipv6_static_routes
.Pq Vt str
The IPv6 equivalent of
OpenPOWER on IntegriCloud