summaryrefslogtreecommitdiffstats
path: root/share/man/man4/gre.4
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2006-10-19 07:41:47 +0000
committerdanger <danger@FreeBSD.org>2006-10-19 07:41:47 +0000
commit89a6f9724e8cddd8cd7cd25304c8b56bee1495c1 (patch)
tree07e2cb3876a1f48dc3592d26ee0fc8510b5c252a /share/man/man4/gre.4
parentac5b874a804ef9b603529b5f1c2a41c5a7c9ca52 (diff)
downloadFreeBSD-src-89a6f9724e8cddd8cd7cd25304c8b56bee1495c1.zip
FreeBSD-src-89a6f9724e8cddd8cd7cd25304c8b56bee1495c1.tar.gz
- convert to the current style of section 4 man pages
- s/ip.forwarding/net.inet.ip.forwarding/ to match reality [1] Approved by: keramida (mentor), trhodes (mentor) MFC after: 5 days Submitted by: Tom McLaughlin via #bsddocs
Diffstat (limited to 'share/man/man4/gre.4')
-rw-r--r--share/man/man4/gre.416
1 files changed, 15 insertions, 1 deletions
diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4
index 14462f2..76eed1a 100644
--- a/share/man/man4/gre.4
+++ b/share/man/man4/gre.4
@@ -43,7 +43,21 @@
.Nm gre
.Nd encapsulating network device
.Sh SYNOPSIS
+To compile the
+.Ns Nm
+device into the kernel, place the following line in the kernel
+configuration file:
+.Bd -ragged -offset indent
.Cd "device gre"
+.Ed
+.Pp
+Alternatively, to load the
+.Ns Nm
+device as a module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+if_gre_load="YES"
+.Ed
.Sh DESCRIPTION
The
.Nm
@@ -278,7 +292,7 @@ the keyword
must be given last on its command line.
.Pp
The kernel must be set to forward datagrams by setting the
-.Va ip.forwarding
+.Va net.inet.ip.forwarding
.Xr sysctl 8
variable to non-zero.
.Sh SEE ALSO
OpenPOWER on IntegriCloud