বুধবার, ৮ জুন, ২০১১

About Quagga and Installation Steps

About Quagga

Quagga is an open source routing software based on the Zebra router. It supports the main standardised routing protocols such as RIP, OSPF or BGP and can be installed on any Linux system with a 2.4 or higher kernel.

Quagga is composed of several daemons, one per routing protocol and another one called Zebra acting as the kernel routing manager. Each daemon has its own configuration file and terminal interface which can be accessed by telnet.
The vtysh tool is provided to configure the Quagga router from the localhost, in a unique interface. Quagga works independently from the operational system (OS) over which it is installed.

The Quagga Command line Interface is very similar to the Cisco IOS software allows it to be configured very easily for those who are familiar with Cisco.

Quagga Installation Steps

To see the Quagga version available:
# apt-cache policy quagga

To install Quagga:
# apt-get install quagga

To see the Quagga dependencies:

# apt-cache depends quagga

Have to activate the Quagga daemons matching the routing protocols you want to set on your router.
# vim /etc/quagga/daemons

we need to create the zebra.conf, ospfd.conf and bgpd.conf files.
# cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf
# cp /usr/share/doc/quagga/examples/ospfd.conf.sample /etc/quagga/ospfd.conf
# cp /usr/share/doc/quagga/examples/bgpd.conf.sample /etc/quagga/bgpd.conf

To use vtysh, must first create its configuration file as follows:
# cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf

Give user and group ownership to respectively quagga and quaggavty to the files inside the /etc/quagga directory:
# chown quagga.quaggavty /etc/quagga/*.conf
# chmod 640 /etc/quagga/*.conf

Restart the Quagga service:
# /etc/init.d/quagga restart

By instance, to access the zebra daemon:
# telnet localhost 2601
Or
# vtysh

To access the ospf daemon:
#telnet localhost 2604

To access the bgp daemon:
#telnet localhost 2605

If you want to run a Quagga command from the Linux shell:
# vtysh -c “command”

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন