From c05c9743433f51e07655cee77b2fe501fc13fec4 Mon Sep 17 00:00:00 2001 From: bms Date: Fri, 18 Jun 2004 01:28:33 +0000 Subject: 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 --- share/man/man5/rc.conf.5 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share') 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 -- cgit v1.1