Merge pull request #570 from srividya0208/proof-reading

correction of configuration error
This commit is contained in:
Robert Göhler 2021-07-13 19:42:14 +02:00 committed by GitHub
commit 48a32ba4b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 16 deletions

View File

@ -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'

View File

@ -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`.