Menu Close
Chapter 43. Setting the routing protocols for your system
This section describes how to use the Free Range Routing
(FRRouting
, or FRR
) feature to enable and set the required routing protocols for your system.
43.1. Introduction to FRRouting
Free Range Routing
(FRRouting
, or FRR
) is a routing protocol stack, which is provided by the frr
package available in the AppStream
repository.
FRR
replaces Quagga
that was used on previous RHEL versions. As such, FRR
provides TCP/IP-based routing services with support for multiple IPv4 and IPv6 routing protocols.
The supported protocols are:
-
Border Gateway Protocol (
BGP
) -
Intermediate System to Intermediate System (
IS-IS
) -
Open Shortest Path First (
OSPF
) -
Protocol-Independent Multicast (
PIM
) -
Routing Information Protocol (
RIP
) -
Routing Information Protocol next generation (
RIPng
) -
Enhanced Interior Gateway Routing Protocol (
EIGRP
) -
Next Hop Resolution Protocol (
NHRP
) -
Bidirectional Forwarding Detection (
BFD
) -
Policy-based Routing (
PBR
)
FRR is a collection of the following services:
-
zebra
-
bgpd
-
isisd
-
ospfd
-
ospf6d
-
pimd
-
ripd
-
ripngd
-
eigrpd
-
nhrpd
-
bfdd
-
pbrd
-
staticd
-
fabricd
If frr
is installed, the system can act as a dedicated router, which exchanges routing information with other routers in either internal or external network using the routing protocols.
43.2. Setting up FRRouting
This section explains how you set up Free Range Routing (FRRouting, or FRR).
Prerequisites
-
Make sure that the
frr
package is installed on your system:
# dnf install frr
Procedure
Edit the
/etc/frr/daemons
configuration file, and enable the required daemons for your system.For example, to enable the
ripd
daemon, include the following line:ripd=yes
WarningThe
zebra
daemon must always be enabled, so that you must setzebra=yes
to be able to useFRR
.ImportantBy default,
/etc/frr/daemons
contains[daemon_name]=no
entries for all daemons. Therefore, all daemons are disabled, and startingFRR
after a new installation of the system has no effect.Start the
frr
service:#
systemctl start frr
Optionally, you can also set
FRR
to start automatically on boot:#
systemctl enable frr
43.3. Modifying the configuration of FRR
This section describes:
-
How to enable an additional daemon after you set up
FRR
-
How to disable a daemon after you set up
FRR
Prerequisites
-
FRR
is set up as described in Setting up FRRouting.
Procedure
Edit the
/etc/frr/daemons
configuration file, and modify the line for the required daemons to stateyes
instead ofno
.For example, to enable the
ripd
daemon:ripd=yes
Reload the
frr
service:#
systemctl reload frr
43.4. Modifying a configuration of a particular daemon
With the default configuration, every routing daemon in FRR
can only act as a plain router.
For any additional configuration of a daemon, use the following procedure.
Procedure
Within the
/etc/frr/
directory, create a configuration file for the required daemon, and name the file as follows:[daemon_name].conf
For example, to further configure the
eigrpd
daemon, create theeigrpd.conf
file in the mentioned directory.Populate the new file with the required content.
For configuration examples of particular
FRR
daemons, see the/usr/share/doc/frr/
directory.Reload the
frr
service:#
systemctl reload frr