summaryrefslogtreecommitdiff
path: root/docs/interfaces
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-02-17 07:46:46 +0000
committerGitHub <noreply@github.com>2020-02-17 07:46:46 +0000
commit0b419c4bd014f63b9ecf51108083d08cf8cbe075 (patch)
tree5b5d1ac318e0a6bcaff00bfe03b64878d0059d20 /docs/interfaces
parentba556cbf6a1450a7811130b0532bde85591409f7 (diff)
downloadvyos-documentation-0b419c4bd014f63b9ecf51108083d08cf8cbe075.tar.gz
vyos-documentation-0b419c4bd014f63b9ecf51108083d08cf8cbe075.zip
tunnel configuration corrections
IPv6 tunnel endpoints are IP not subnets, addresses are subnet not IPs
Diffstat (limited to 'docs/interfaces')
-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)
----------