summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/_include/interface-dhcpv6-prefix-delegation.txt2
-rw-r--r--docs/configexamples/ha.rst36
2 files changed, 19 insertions, 19 deletions
diff --git a/docs/_include/interface-dhcpv6-prefix-delegation.txt b/docs/_include/interface-dhcpv6-prefix-delegation.txt
index 1ef94c14..c6564092 100644
--- a/docs/_include/interface-dhcpv6-prefix-delegation.txt
+++ b/docs/_include/interface-dhcpv6-prefix-delegation.txt
@@ -24,7 +24,7 @@ networks.
{{ var5 }} {{ var6 }} dhcpv6-options pd <id> interface <delegatee>
address <address>
- Specify the interface address used locally on the interfcae where the prefix
+ Specify the interface address used locally on the interface where the prefix
has been delegated to. ID must be a decimal integer.
It will be combined with the delegated prefix and the sla-id to form a
diff --git a/docs/configexamples/ha.rst b/docs/configexamples/ha.rst
index 702cb2b2..f14e6581 100644
--- a/docs/configexamples/ha.rst
+++ b/docs/configexamples/ha.rst
@@ -370,19 +370,19 @@ Replace the 203.0.113.3 with whatever the other router's IP address is.
set interfaces wireguard wg01 address '10.254.60.1/30'
set interfaces wireguard wg01 description 'router1-to-offsite1'
- set interfaces wireguard wg01 ip ospf authentication md5 key-id 1 md5-key 'i360KoCwUGZvPq7e'
- set interfaces wireguard wg01 ip ospf cost '11'
- set interfaces wireguard wg01 ip ospf dead-interval '5'
- set interfaces wireguard wg01 ip ospf hello-interval '1'
- set interfaces wireguard wg01 ip ospf network 'point-to-point'
- set interfaces wireguard wg01 ip ospf priority '1'
- set interfaces wireguard wg01 ip ospf retransmit-interval '5'
- set interfaces wireguard wg01 ip ospf transmit-delay '1'
set interfaces wireguard wg01 peer OFFSITE1 allowed-ips '0.0.0.0/0'
set interfaces wireguard wg01 peer OFFSITE1 endpoint '203.0.113.3:50001'
set interfaces wireguard wg01 peer OFFSITE1 persistent-keepalive '15'
set interfaces wireguard wg01 peer OFFSITE1 pubkey 'GEFMOWzAyau42/HwdwfXnrfHdIISQF8YHj35rOgSZ0o='
set interfaces wireguard wg01 port '50001'
+ set protocols ospf interface wg01 authentication md5 key-id 1 md5-key 'i360KoCwUGZvPq7e'
+ set protocols ospf interface wg01 cost '11'
+ set protocols ospf interface wg01 dead-interval '5'
+ set protocols ospf interface wg01 hello-interval '1'
+ set protocols ospf interface wg01 network 'point-to-point'
+ set protocols ospf interface wg01 priority '1'
+ set protocols ospf interface wg01 retransmit-interval '5'
+ set protocols ospf interface wg01 transmit-delay '1'
**offsite1**
@@ -393,19 +393,19 @@ This is connecting back to the STATIC IP of router1, not the floating.
set interfaces wireguard wg01 address '10.254.60.2/30'
set interfaces wireguard wg01 description 'offsite1-to-router1'
- set interfaces wireguard wg01 ip ospf authentication md5 key-id 1 md5-key 'i360KoCwUGZvPq7e'
- set interfaces wireguard wg01 ip ospf cost '11'
- set interfaces wireguard wg01 ip ospf dead-interval '5'
- set interfaces wireguard wg01 ip ospf hello-interval '1'
- set interfaces wireguard wg01 ip ospf network 'point-to-point'
- set interfaces wireguard wg01 ip ospf priority '1'
- set interfaces wireguard wg01 ip ospf retransmit-interval '5'
- set interfaces wireguard wg01 ip ospf transmit-delay '1'
set interfaces wireguard wg01 peer ROUTER1 allowed-ips '0.0.0.0/0'
set interfaces wireguard wg01 peer ROUTER1 endpoint '192.0.2.21:50001'
set interfaces wireguard wg01 peer ROUTER1 persistent-keepalive '15'
set interfaces wireguard wg01 peer ROUTER1 pubkey 'CKwMV3ZaLntMule2Kd3G7UyVBR7zE8/qoZgLb82EE2Q='
set interfaces wireguard wg01 port '50001'
+ set protocols ospf interface wg01 authentication md5 key-id 1 md5-key 'i360KoCwUGZvPq7e'
+ set protocols ospf interface wg01 cost '11'
+ set protocols ospf interface wg01 dead-interval '5'
+ set protocols ospf interface wg01 hello-interval '1'
+ set protocols ospf interface wg01 network 'point-to-point'
+ set protocols ospf interface wg01 priority '1'
+ set protocols ospf interface wg01 retransmit-interval '5'
+ set protocols ospf interface wg01 transmit-delay '1'
Test WireGuard
--------------
@@ -523,8 +523,8 @@ be used unless the primary links are down.
.. code-block:: none
- set interfaces wireguard wg01 ip ospf cost '10'
- set interfaces wireguard wg02 ip ospf cost '200'
+ set protocols ospf interface wg01 cost '10'
+ set protocols ospf interface wg01 cost '200'
This will be visible in 'show ip route'.