Frr

Free Range Routing or FRRouting or FRR is aArticle description::a network routing software suite running on Unix-like platforms. It was created as a fork from Quagga.

The FRRouting software consists of 2 basic parts:


 * zebra daemon
 * routing processes (RIP,OSPF,BGP,IS-IS,Babel,OLSR,LDP,BFD...)

The zebra daemon is a abstraction layer between the kernel and the running routing processes. Each routing protocol, such as as (RIP,OSPF,BGP,IS-IS,Babel,OLSR,LDP,BFD...) its own separate process/daemon.

FRRouting installed on a computer acts as a dedicated router. FRRouting updates the kernel routing table. It modifies interface IP addressing, sets static routes and enables dynamic routing.

FRRouting can modify, add and change the physical host interface configuration and routing table, without the need user having privileged root access to a dedicated machine. FRRouting is basically a another tool for iproute2 and, with advanced IP networking functionalities.

All routing daemons listed communicate with the zebra daemon, not directly with the kernel.

Configuration
Review frr's configuration file to enable optional (advanced) routing protocols. In the default setting all advanced routing protocols are disabled.


 * - Global (system wide) FRR configuration file.

Add larry to frrvty group to be able to use vtysh:

Not sure about the need of frr (verify):

OpenRC
Add frr to the default runlevel:

Start frr daemon:

Usage
Following section describes a basic configuration example for FRR. Configuring a additional IP address  and the IPv6 address   on a loopback interface , then finally to test in using iproute2 tools.

A short overview of commands used:

Following IP networking settings have been used:

Display configured IP settings using iproute2:

Show the Linux IP routing table:

Show routing table
Compare output shown below to the Linux, shows exactly the same IP routing table:

In the upper example some lines have been skipped. The additional Codes line is shown below:

Show configuration
To display current configuration use the  command:

Configure IP addressing
Get into edit mode:

Chose the IP loopback interface:

Configure the IP address 192.0.2.100/32 on loopback interface:

Configure the IPv6 address 2001:db8::100/128 on loopback interface:

Exit configure mode
End the edit mode mode session:

Verify configuration
Show running configuration:

Show the loopback interface configuration, and notice the configured  and   addresses in the output:

Show the IPv4 routing table, notify both prefixes  and   are in the routing table:

Show the IPv6 routing table, notify both prefixes  and   are in the routing table:

Save configuration
Save running configuration:

Exit router
Exit frr:

Test connectivity
Verify IP configuration using iproute2. Notice the additional IP address setup on loopback interface:

Verify IP addresses reachability in the network:

Troubleshooting
Verify the zebra daemon is up and running:

Verify advanced routing protocol daemons are up and running:

Using help
Show basic mode commands, use the key for help:

After choosing initial entry command, continue using  key to display further possible commands:

The help function is setup like a tree, where using the key displays further levels of commands.

External resources

 * Quagga_(software)