summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-12-14 22:55:10 +0000
committerbrooks <brooks@FreeBSD.org>2001-12-14 22:55:10 +0000
commitd7cd33da252993726b0381df52e7704af09fc914 (patch)
tree4889cb11cfba3e8f84cf1bcd95beebd5fb9730c0 /share
parent4947007c3901ceacf7a593db410ccbe418125b00 (diff)
downloadFreeBSD-src-d7cd33da252993726b0381df52e7704af09fc914.zip
FreeBSD-src-d7cd33da252993726b0381df52e7704af09fc914.tar.gz
Better document gif interface cloning intrastructure.
MFC After: 2 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/gif.48
-rw-r--r--share/man/man5/rc.conf.520
2 files changed, 26 insertions, 2 deletions
diff --git a/share/man/man4/gif.4 b/share/man/man4/gif.4
index 7a0a551..e89443b 100644
--- a/share/man/man4/gif.4
+++ b/share/man/man4/gif.4
@@ -50,13 +50,17 @@ On
.Nm
can also tunnel ISO traffic over IPv[46] using EON encapsulation.
.Pp
+Each
.Nm
-interfaces are allocated at runtime using interface cloning.
+interface is created at runtime using interface cloning.
This is
most easily done with the
.Xr ifconfig 8
.Cm create
-command.
+command or using the
+.No gifconfig_ Ns Em interface
+variable in
+.Xr rc.conf 5 .
.Pp
To use
.Nm ,
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index a1650ac..e255426 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -604,6 +604,26 @@ Entries in
are automatically appended to
.Va network_interfaces
for configuration.
+.It Va gif_interfaces
+.Pq Vt str
+Set to the list of
+.Xr gif 4
+tunnel interfaces to configure on this host.
+A
+.No gifconfig_ Ns Em interface
+variable is assumed to exist for each value of
+.Em interface .
+The value of this variable is used to configure the link layer of the
+tunnel according to the syntax of the
+.Cm tunnel
+option to
+.Xr ifconfig 8 .
+Additionaly, this option insures that each listed interface is created
+via the
+.Cm create
+option to
+.Xr ifconfig 8
+before attempting to configure it.
.It Va ppp_enable
.Pq Vt bool
If set to
OpenPOWER on IntegriCloud