mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Merge pull request #199 from currite/ospf-min
ospf: fix minimum ospf requirements
This commit is contained in:
commit
b930bb6ef5
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user