summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-07-13 19:42:14 +0200
committerGitHub <noreply@github.com>2021-07-13 19:42:14 +0200
commit48a32ba4b053d8d1552aed85fe65b04f363fd7ad (patch)
treedfa3e38e90529afb1f38ddaca192bd9f74b18716 /docs
parentf3389c303092e5fcf0361613579b2ee1f7cb085a (diff)
parent3f14e6ec8241e68c16469fcf1cfea10e8db1d0a0 (diff)
downloadvyos-documentation-48a32ba4b053d8d1552aed85fe65b04f363fd7ad.tar.gz
vyos-documentation-48a32ba4b053d8d1552aed85fe65b04f363fd7ad.zip
Merge pull request #570 from srividya0208/proof-reading
correction of configuration error
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/policy/index.rst16
-rw-r--r--docs/configuration/protocols/static.rst18
2 files changed, 18 insertions, 16 deletions
diff --git a/docs/configuration/policy/index.rst b/docs/configuration/policy/index.rst
index 7a329500..7127957a 100644
--- a/docs/configuration/policy/index.rst
+++ b/docs/configuration/policy/index.rst
@@ -1,3 +1,5 @@
+:lastproofread:2021-07-12
+
.. include:: /_include/need_improvement.txt
######
@@ -53,7 +55,7 @@ neighbor.
.. code-block:: none
- vyos@vos1:~$ sho ip b
+ vyos@vos1:~$ show ip bgp
BGP table version is 0, local router ID is 192.168.56.101
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
@@ -182,7 +184,7 @@ ISP's and VyOS router will respond from the same interface that the packet was
received. Also, it used, if we want that one VPN tunnel to be through one
provider, and the second through another.
-* ``203.0.113.0.254`` IP addreess on VyOS eth1 from ISP1
+* ``203.0.113.254`` IP addreess on VyOS eth1 from ISP1
* ``192.168.2.254`` IP addreess on VyOS eth2 from ISP2
* ``table 10`` Routing table used for ISP1
* ``table 11`` Routing table used for ISP2
@@ -191,18 +193,18 @@ provider, and the second through another.
.. code-block:: none
set policy local-route rule 101 set table '10'
- set policy local-route rule 101 source '203.0.113.0.254'
+ set policy local-route rule 101 source '203.0.113.254'
set policy local-route rule 102 set table '11'
set policy local-route rule 102 source '192.0.2.254'
- set protocols static table 10 route '0.0.0.0/0' next-hop '203.0.113.0.1'
- set protocols static table 11 route '0.0.0.0/0' next-hop '192.0.2.2'
+ set protocols static table 10 route 0.0.0.0/0 next-hop '203.0.113.1'
+ set protocols static table 11 route 0.0.0.0/0 next-hop '192.0.2.2'
Add multiple source IP in one rule with same priority
.. code-block:: none
set policy local-route rule 101 set table '10'
- set policy local-route rule 101 source '203.0.113.0.254'
- set policy local-route rule 101 source '203.0.113.0.253'
+ set policy local-route rule 101 source '203.0.113.254'
+ set policy local-route rule 101 source '203.0.113.253'
set policy local-route rule 101 source '198.51.100.0/24'
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst
index fed0dd22..da471b86 100644
--- a/docs/configuration/protocols/static.rst
+++ b/docs/configuration/protocols/static.rst
@@ -32,7 +32,7 @@ Static Routes
distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
Range is 1 to 255, default is 1.
@@ -52,7 +52,7 @@ Static Routes
distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
Range is 1 to 255, default is 1.
@@ -67,7 +67,7 @@ Interface Routes
<interface>
Allows you to configure the next-hop interface for an interface-based IPv4
- static route. `<interface>` will be the next-hop interface where trafic is
+ static route. `<interface>` will be the next-hop interface where traffic is
routed for the given `<subnet>`.
.. cfgcmd:: set protocols static route <subnet> interface
@@ -79,7 +79,7 @@ Interface Routes
<interface> distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
Range is 1 to 255, default is 1.
@@ -87,7 +87,7 @@ Interface Routes
<interface>
Allows you to configure the next-hop interface for an interface-based IPv6
- static route. `<interface>` will be the next-hop interface where trafic is
+ static route. `<interface>` will be the next-hop interface where traffic is
routed for the given `<subnet>`.
.. cfgcmd:: set protocols static route6 <subnet> interface
@@ -99,7 +99,7 @@ Interface Routes
<interface> distance <distance>
Defines next-hop distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
Range is 1 to 255, default is 1.
@@ -118,7 +118,7 @@ Blackhole
.. cfgcmd:: set protocols static route <subnet> blackhole distance <distance>
Defines blackhole distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
.. cfgcmd:: set protocols static route6 <subnet> blackhole
@@ -131,7 +131,7 @@ Blackhole
.. cfgcmd:: set protocols static route6 <subnet> blackhole distance <distance>
Defines blackhole distance for this route, routes with smaller administrative
- distance are elected prior those with a higher distance.
+ distance are elected prior to those with a higher distance.
Alternate Routing Tables
@@ -139,7 +139,7 @@ Alternate Routing Tables
TBD
-Alternate routing tables are used with policy based routing of by utilizing
+Alternate routing tables are used with policy based routing by utilizing
:ref:`vrf`.