2
0
mirror of https://github.com/opnsense/docs synced 2024-11-05 06:00:36 +00:00
opensense-docs/source/manual/dynamic_routing.rst

66 lines
2.0 KiB
ReStructuredText
Raw Normal View History

===============
Dynamic Routing
===============
.. Warning::
2019-01-18 17:00:33 +00:00
With OPNsense version 19.1 the FRR package was updated to version 5. It's strongly advised to increase
the kern.ipc.maxsockbuf value via **Tunables**. Go to :menuselection:`System --> Settings --> Tunables` and check if there
is already a tunable for maxsockbuf and set it to 16777216 if it's lower. Otherwise add a new one with
name above and the specified value.
.. Warning::
Disabling a running routing daemon can be dangerous as it can lead to an inaccessible machine.
If you want to disable a running routing daemon, make sure, you don't lose routes which are
required by your connection to this machine (for example when using SSH).
2018-02-07 20:45:35 +00:00
Dynamic Routing (using routing protocols) is supported via an external plugin. Routing protocols are used to make your network equipment find the best path where your packets should be sent to.
Routing protocols are used to
* improve fault tolerance (if a connection breaks, a new route will be found if possible)
* simplify administration (you have to add fewer routes manually)
You should not use routing protocols if
* your network is small (so it would be better to use static routes)
* you are working in a highly isolated environment, where you have to be in control of everything happening in your network
Routing Protocols supported by the plugin include:
* OSPFv2 and v3
* RIPv1 and RIPv2
* BGPv4
.. Warning::
Not all routing protocols will work in any setup because they may have to be direct neighbors.
Consider the limitations of a routing protocol before using it.
------------
Installation
------------
First of all, select Plugins in the menu:
.. image:: images/menu_plugins.png
2019-03-11 11:36:32 +00:00
On this page, you can install the FRR plugin by clicking the `+` icon:
2018-02-08 17:32:04 +00:00
.. image:: images/plugins_frr.png
-------------
Configuration
-------------
* :doc:`how-tos/dynamicrouting_zebra`
* :doc:`how-tos/dynamicrouting_ospf`
* :doc:`how-tos/dynamicrouting_rip`
------
How To
------
* :doc:`how-tos/dynamicrouting_howto`