Quagga: Linux Dynamic Routing Software

Posted on in Categories CentOS, Debian Linux, GNU/Open source, Howto, Linux, Networking last updated March 5, 2008

I’ve already written about Linux static routing configuration. However, sometime you need to configure Linux routers dynamically to get changes of network connections by communicating information about which networks each router can reach and how far away those networks are. These days most network admin prefer to use OSPF or BGP over RIP. Linux and UNIX system can act as router using special software.

Quagga Software

Quagga is a network routing suite providing implementations of OSPF (v2 & v3), RIP (v1, v2 & v3) and BGP (v4) for Unix-like platforms, particularly FreeBSD, Linux, Solaris and NetBSD. Quagga is a fork of GNU Zebra. Quagga is intended to be used as a Route Server and a Route Reflector. It is not a toolkit, it provides full routing power under a new architecture.

Zebra IP Routing Manager

zebra is an IP routing manager. It provides kernel routing table updates, interface lookups, and redistribution of routes between different routing protocols. zebra is included with quagga software.

Install quagga

Debian / Ubuntu Linux user type the following command:
$ sudo apt-get install quagga
RHEL , Fedora, CentOS Linux user type the following command:
# yum install quagga

quagga Software Configuration

quagga configuration is beyond the scope of this blog post; I recommend reading official configuration documentation for further information.

Configure Static Routes In Debian or Red Hat Enterprise Linux

Posted on in Categories CentOS, Debian Linux, Linux, Networking, RedHat/Fedora Linux, Suse Linux, Ubuntu Linux last updated April 13, 2006

Static routes improves overall performance of your network (especially bandwidth saving). They are also useful in stub networks (i.e. there is only one link to the network). For example, each LAN (located at different offices) is connected to HQ IDC (Internet data center) using single T1/LL/Wan links.

For example under Red Hat/Fedora Linux you can add static router for eth0 network interface by editing /etc/sysconfig/network-scripts/route-eth0 file. Under Debian Linux add static route by editing /etc/network/interface file.