summaryrefslogtreecommitdiff
path: root/docs/configuration/nat
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration/nat')
-rw-r--r--docs/configuration/nat/nat64.rst4
-rw-r--r--docs/configuration/nat/nat66.rst12
2 files changed, 14 insertions, 2 deletions
diff --git a/docs/configuration/nat/nat64.rst b/docs/configuration/nat/nat64.rst
index e8a3a0e6..04ba56f4 100644
--- a/docs/configuration/nat/nat64.rst
+++ b/docs/configuration/nat/nat64.rst
@@ -69,6 +69,8 @@ NAT64 client configuration:
Test from the IPv6 only client:
+.. stop_vyoslinter
+
.. code-block:: none
vyos@r1:~$ ping 64:ff9b::192.0.2.1 count 2
@@ -79,3 +81,5 @@ Test from the IPv6 only client:
--- 64:ff9b::192.0.2.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1023ms
rtt min/avg/max/mdev = 0.351/0.362/0.373/0.011 ms
+
+.. start_vyoslinter
diff --git a/docs/configuration/nat/nat66.rst b/docs/configuration/nat/nat66.rst
index 31f6c002..aecce524 100644
--- a/docs/configuration/nat/nat66.rst
+++ b/docs/configuration/nat/nat66.rst
@@ -4,6 +4,9 @@
NAT66(NPTv6)
############
+.. TODO:: Convert raw command blocks in this file to cfgcmd/opcmd
+ directives for command coverage tracking.
+
:abbr:`NPTv6 (IPv6-to-IPv6 Network Prefix Translation)` is an address
translation technology based on IPv6 networks, used to convert an IPv6
address prefix in an IPv6 message into another IPv6 address prefix.
@@ -151,14 +154,17 @@ R2:
set service router-advert interface br1 prefix ::/0
-Use the following topology to translate internal user local addresses (``fc::/7``)
-to DHCPv6-PD provided prefixes from an ISP connected to a VyOS HA pair.
+Use the following topology to translate internal user local addresses
+(``fc::/7``) to DHCPv6-PD provided prefixes from an ISP connected to
+a VyOS HA pair.
.. figure:: /_static/images/vyos_1_5_nat66_dhcpv6_wdummy.*
:alt: VyOS NAT66 DHCPv6 using a dummy interface
Configure both routers (a and b) for DHCPv6-PD via dummy interface:
+.. stop_vyoslinter
+
.. code-block:: none
set interfaces dummy dum1 description 'DHCPv6-PD NPT dummy'
@@ -169,6 +175,8 @@ Configure both routers (a and b) for DHCPv6-PD via dummy interface:
set interfaces bonding bond0 vif 20 dhcpv6-options rapid-commit
commit
+.. start_vyoslinter
+
Get the DHCPv6-PD prefixes from both routers:
.. code-block:: none