summaryrefslogtreecommitdiffstats
path: root/share/man/man4/if_bridge.4
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2005-12-21 21:29:45 +0000
committerthompsa <thompsa@FreeBSD.org>2005-12-21 21:29:45 +0000
commit42c9ecf9f57f7681e401bcf499946dbe2f2cd09f (patch)
treefbd9c548f0727ef749bbae4f6181a65a63dbc539 /share/man/man4/if_bridge.4
parent09b665597401a6c52abc7955a365036782ba772a (diff)
downloadFreeBSD-src-42c9ecf9f57f7681e401bcf499946dbe2f2cd09f.zip
FreeBSD-src-42c9ecf9f57f7681e401bcf499946dbe2f2cd09f.tar.gz
Add RFC 3378 EtherIP support. This change makes it possible to add gif
interfaces to bridges, which will then send and receive IP protocol 97 packets. Packets are Ethernet frames with an EtherIP header prepended. Obtained from: NetBSD MFC after: 2 weeks
Diffstat (limited to 'share/man/man4/if_bridge.4')
-rw-r--r--share/man/man4/if_bridge.417
1 files changed, 17 insertions, 0 deletions
diff --git a/share/man/man4/if_bridge.4 b/share/man/man4/if_bridge.4
index 0dc4b05..66ca881 100644
--- a/share/man/man4/if_bridge.4
+++ b/share/man/man4/if_bridge.4
@@ -173,7 +173,24 @@ ifconfig bridge0 \e
addm fxp7 stp fxp7 \e
up
.Ed
+.Pp
+The bridge can tunnel Ethernet across an IP internet using the EtherIP
+protocol.
+This can be combined with
+.Xr ipsec 4
+to provide an encrypted connection.
+Create a
+.Xr gif 4
+interface and set the local and remote IP addresses for the
+tunnel, these are reversed on the remote bridge.
+.Bd -literal -offset indent
+ifconfig gif0 create
+ifconfig gif0 tunnel 1.2.3.4 5.6.7.8 up
+ifconfig bridge0 create
+ifconfig bridge0 addm fxp0 addm gif0 up
+.Ed
.Sh SEE ALSO
+.Xr gif 4 ,
.Xr ipf 4 ,
.Xr ipfw 4 ,
.Xr pf 4 ,
OpenPOWER on IntegriCloud