diff options
author | srividya0208 <a.srividya@vyos.io> | 2021-04-11 11:48:15 -0400 |
---|---|---|
committer | srividya0208 <a.srividya@vyos.io> | 2021-04-11 13:00:00 -0400 |
commit | 5faf97f5a13979176b9f80e375ac2eed92b3d63b (patch) | |
tree | 5c78576e2906b5ec8dfdda99552dd17fd784d8af /docs/configuration/interfaces/tunnel.rst | |
parent | c394c6e165959a3f9caf83956480bf111b686c48 (diff) | |
download | vyos-documentation-5faf97f5a13979176b9f80e375ac2eed92b3d63b.tar.gz vyos-documentation-5faf97f5a13979176b9f80e375ac2eed92b3d63b.zip |
T3458:tunnel interface:added GRETAP section
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.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/tunnel.rst b/docs/configuration/interfaces/tunnel.rst index 36b1d70b..7f7cd709 100644 --- a/docs/configuration/interfaces/tunnel.rst +++ b/docs/configuration/interfaces/tunnel.rst @@ -201,6 +201,21 @@ 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. + +.. 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 source-address 198.51.100.2 + set interfaces tunnel tun0 remote 203.0.113.10 + Troubleshooting ^^^^^^^^^^^^^^^ |