mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
ipsec: gre: use dummy interface in example over loopback
(cherry picked from commit 5953d6f69748c82cbd9eafbe662163924ae719e6)
This commit is contained in:
parent
5dff955e49
commit
84498945cc
@ -221,8 +221,8 @@ On the LEFT:
|
|||||||
On the RIGHT, setup by analogy and swap local and remote addresses.
|
On the RIGHT, setup by analogy and swap local and remote addresses.
|
||||||
|
|
||||||
|
|
||||||
Source tunnel from loopbacks
|
Source tunnel from dummy interface
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
The scheme above doesn't work when one of the routers has a dynamic external
|
The scheme above doesn't work when one of the routers has a dynamic external
|
||||||
address though. The classic workaround for this is to setup an address on a
|
address though. The classic workaround for this is to setup an address on a
|
||||||
@ -240,7 +240,7 @@ On the LEFT:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
set interfaces loopback lo address 192.168.99.1/32
|
set interfaces dummy dum0 address 192.168.99.1/32
|
||||||
|
|
||||||
set interfaces tunnel tun0 encapsulation gre
|
set interfaces tunnel tun0 encapsulation gre
|
||||||
set interfaces tunnel tun0 address 10.10.10.1/30
|
set interfaces tunnel tun0 address 10.10.10.1/30
|
||||||
@ -251,7 +251,7 @@ On the RIGHT:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
set interfaces loopback lo address 192.168.99.2/32
|
set interfaces dummy dum0 address 192.168.99.2/32
|
||||||
|
|
||||||
set interfaces tunnel tun0 encapsulation gre
|
set interfaces tunnel tun0 encapsulation gre
|
||||||
set interfaces tunnel tun0 address 10.10.10.2/30
|
set interfaces tunnel tun0 address 10.10.10.2/30
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user