summaryrefslogtreecommitdiff
path: root/docs/interfaces/tunnel.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-17 22:38:23 +0100
committerGitHub <noreply@github.com>2020-02-17 22:38:23 +0100
commit8991894c1d5449a4e26974567352e90557cae4de (patch)
tree5b5d1ac318e0a6bcaff00bfe03b64878d0059d20 /docs/interfaces/tunnel.rst
parentba556cbf6a1450a7811130b0532bde85591409f7 (diff)
parent0b419c4bd014f63b9ecf51108083d08cf8cbe075 (diff)
downloadvyos-documentation-8991894c1d5449a4e26974567352e90557cae4de.tar.gz
vyos-documentation-8991894c1d5449a4e26974567352e90557cae4de.zip
Merge pull request #208 from thomas-mangin/patch-2
tunnel configuration corrections
Diffstat (limited to 'docs/interfaces/tunnel.rst')
-rw-r--r--docs/interfaces/tunnel.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/interfaces/tunnel.rst b/docs/interfaces/tunnel.rst
index 46e0a9da..f20127f5 100644
--- a/docs/interfaces/tunnel.rst
+++ b/docs/interfaces/tunnel.rst
@@ -27,7 +27,7 @@ An example:
set interfaces tunnel tun0 encapsulation ipip
set interfaces tunnel tun0 local-ip 192.0.2.10
set interfaces tunnel tun0 remote-ip 203.0.113.20
- set interfaces tunnel tun0 address 192.168.100.200
+ set interfaces tunnel tun0 address 192.168.100.200/24
IP6IP6
------
@@ -43,8 +43,8 @@ An example:
.. code-block:: none
set interfaces tunnel tun0 encapsulation ip6ip6
- set interfaces tunnel tun0 local-ip 2001:db8:aa::1/64
- set interfaces tunnel tun0 remote-ip 2001:db8:aa::2/64
+ set interfaces tunnel tun0 local-ip 2001:db8:aa::1
+ set interfaces tunnel tun0 remote-ip 2001:db8:aa::2
set interfaces tunnel tun0 address 2001:db8:bb::1/64
IPIP6
@@ -60,9 +60,9 @@ An example:
.. code-block:: none
set interfaces tunnel tun0 encapsulation ipip6
- set interfaces tunnel tun0 local-ip 2001:db8:aa::1/64
- set interfaces tunnel tun0 remote-ip 2001:db8:aa::2/64
- set interfaces tunnel tun0 address 192.168.70.80
+ set interfaces tunnel tun0 local-ip 2001:db8:aa::1
+ set interfaces tunnel tun0 remote-ip 2001:db8:aa::2
+ set interfaces tunnel tun0 address 192.168.70.80/24
6in4 (SIT)
----------