Merge pull request #199 from currite/ospf-min

ospf: fix minimum ospf requirements
This commit is contained in:
Christian Poessinger 2020-02-01 09:52:42 +01:00 committed by GitHub
commit b930bb6ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,19 +17,19 @@ OSPFv2 (IPv4)
^^^^^^^^^^^^^ ^^^^^^^^^^^^^
In order to have a VyOS system exchanging routes with OSPF neighbors, you will In order to have a VyOS system exchanging routes with OSPF neighbors, you will
at least need to configure the area and a network, at least need to configure an OSPF area and some network.
.. code-block:: none .. code-block:: none
set protocols ospf area 0 network 192.168.0.0/24 set protocols ospf area 0 network 192.168.0.0/24
as well as the router ID. That is the minimum configuration you will need.
It is a good practice to define the router ID too.
.. code-block:: none .. code-block:: none
set protocols ospf parameters router-id 10.1.1.1 set protocols ospf parameters router-id 10.1.1.1
That is the minimum configuration you will need.
Below you can see a typical configuration using 2 nodes, redistribute loopback Below you can see a typical configuration using 2 nodes, redistribute loopback
address and the node 1 sending the default route: address and the node 1 sending the default route: