summaryrefslogtreecommitdiff
path: root/docs/configuration/interfaces/tunnel.rst
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2021-04-11 13:47:02 -0400
committersrividya0208 <a.srividya@vyos.io>2021-04-11 13:47:02 -0400
commitbab8bd3f5a23d44faf0b67e50526ff3841ceff9b (patch)
treee928b7543150f2b0c9340fc289a237e1722313c1 /docs/configuration/interfaces/tunnel.rst
parent9b6f4d6e14ce34ee5e4a3d81c76e4b6622c8eb9d (diff)
downloadvyos-documentation-bab8bd3f5a23d44faf0b67e50526ff3841ceff9b.tar.gz
vyos-documentation-bab8bd3f5a23d44faf0b67e50526ff3841ceff9b.zip
T3458-e::tunnel interface:added GRETAP section for 1.3 ver
added the command configuration for gretap and corrected the syntax in dhcp-relay example
Diffstat (limited to 'docs/configuration/interfaces/tunnel.rst')
-rw-r--r--docs/configuration/interfaces/tunnel.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/tunnel.rst b/docs/configuration/interfaces/tunnel.rst
index d2d63ce2..22648095 100644
--- a/docs/configuration/interfaces/tunnel.rst
+++ b/docs/configuration/interfaces/tunnel.rst
@@ -201,6 +201,22 @@ An example:
set interfaces tunnel tun0 address 172.16.17.18/24
set interfaces tunnel tun0 parameters ip key 20
+GRETAP
+^^^^^^
+
+While normal GRE is for layer 3, GRETAP is for layer 2. GRETAP can encapsulate
+Ethernet frames, thus it can be bridged with other interfaces to create
+datalink layer segments that span multiple remote sites.
+
+Layer 2 GRE example:
+
+.. code-block:: none
+
+ set interfaces bridge br0 member interface eth0
+ set interfaces bridge br0 member interface tun0
+ set interfaces tunnel tun0 encapsulation gretap
+ set interfaces tunnel tun0 local-ip 198.51.100.2
+ set interfaces tunnel tun0 remote-ip 203.0.113.10
Troubleshooting
^^^^^^^^^^^^^^^