mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-02 20:02:05 +01:00
Merge pull request #505 from srividya0208/T3458-e
T3458-e::tunnel interface:added GRETAP section for 1.3 ver
This commit is contained in:
commit
16fb2a71f9
@ -201,6 +201,22 @@ An example:
|
|||||||
set interfaces tunnel tun0 address 172.16.17.18/24
|
set interfaces tunnel tun0 address 172.16.17.18/24
|
||||||
set interfaces tunnel tun0 parameters ip key 20
|
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
|
Troubleshooting
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user