Monday, January 3, 2011

Quagga Installation guide

Follow these steps.
1. I used freeBSD as OS. Quagga works for Linux also.
2. In case of freeBSD . Go to the port and give following command "make install clean"
3. In case of missing project file. Download the files from internet (if you are not directly connected to internet) an put these files in dist folder.
4. Once quagga get installed you require to have two configuration files some where in the system(default location /usr/local/etc/quagga/
5. First one ospfd.conf should have the following configuration
! -*- ospf -*-
!
! OSPFd sample configuration file
!
!
hostname ospfd
password zebra
enable password zebra
!
router ospf
redistribute connected
network 192.168.1.0/24 area 0
network 10.10.11.0/24 area 11
log stdout

6. Second one zebra should have the following configuration
! -*- zebra -*-
!
! zebra sample configuration file
!
! $Id: zebra.conf.sample,v 1.1.1.1 2002/12/13 20:15:30 paul Exp $
!
hostname Router
password zebra
enable password zebra
!
! Interface's description.
!
!interface lo
! description test of desc.
!
!interface sit0
! multicast

!
! Static default route sample.
!
!ip route 0.0.0.0/0 203.181.89.241
!

!log file zebra.log

7. once you are over with all these.
you require to put following lines in the rc.conf for starting the quagga during boot up.
quagga_enable="YES"
quagga_flags="-d"
quagga_daemons="zebra ospfd"
router_enable="NO"
watchquagga_enable="YES"
watchquagga_flags="-dz -R '/usr/local/etc/rc.d/quagga restart' zebra ospfd"

8. watchquagga is a supporting daemons which keeps watching quagga. In case of quagga process termination, it restart quagga. cool isn't ?


9. For more detail visit the following url
http://openmaniak.com/quagga.php

No comments:

Post a Comment