ospf: fix minimum ospf requirements

This commit is contained in:
currite 2020-01-31 03:08:45 +01:00
parent 31202ff77b
commit c69d94e552

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: