summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2009-11-24 14:43:37 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2009-11-24 14:43:37 +0000
commit7aa33a7d8f3db0bfb06c358efef44f272f8a8a13 (patch)
tree8597f9a38c668f3c4d2193fe789b3c05f518a0da /share/man
parent901b3cc08d323c2ac56e911613a501e1bfd828ed (diff)
avoid some duplication in the bridge section; ok deraadt
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/gif.431
1 files changed, 6 insertions, 25 deletions
diff --git a/share/man/man4/gif.4 b/share/man/man4/gif.4
index 2bf2edaad91..578bf1d12a0 100644
--- a/share/man/man4/gif.4
+++ b/share/man/man4/gif.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gif.4,v 1.20 2009/11/23 06:10:12 jmc Exp $
+.\" $OpenBSD: gif.4,v 1.21 2009/11/24 14:43:36 jmc Exp $
.\" $KAME: gif.4,v 1.15 2000/04/19 09:39:42 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 23 2009 $
+.Dd $Mdocdate: November 24 2009 $
.Dt GIF 4
.Os
.Sh NAME
@@ -87,36 +87,17 @@ This is not necessary in cases where Ethernet-over-IP is being
protected using
.Xr ipsec 4 .
.Pp
-Finally, the
+The
.Nm
-interface may be used as a
+interface may also be used as a
.Xr bridge 4
member.
-Ethernet frames forwarded by the bridge to the
-.Nm
-interface are encapsulated inside an IPv4 or IPv6 header (depending on
-how the interface is configured), with transport protocol number 97
-(etherip).
-IPv4 or IPv6 packets carrying transport protocol 97 are delivered to
-the
-.Nm
-interface whose "physical" addresses match the source/destination
-addresses of the packet (the source address of the packet must match
-the destination "physical" address, and vice versa).
-.\"
-.Sh IPSEC BRIDGE
-The bridge can also be used to tunnel Ethernet frames over IPv4 or
-IPv6 by using the
-.Nm
-interface.
-In addition to adding Ethernet interfaces,
-one or more
-.Nm
-interfaces are added as members of the bridge.
Ethernet frames sent through
.Nm
interfaces are encapsulated inside
.Xr ip 4
+or
+.Xr ip6 4
datagrams and sent across the network to another bridge, which
decapsulates the datagram and then processes the resulting Ethernet
frame as if it had originated on a normal Ethernet interface.