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
This commit is contained in:
bms 2004-06-18 01:28:33 +00:00
parent 1b1e48b58f
commit c05c974343

View File

@ -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