Installing Quagga (BGP Daemon) on FreeBSD 6

The Quagga daemon is a fork of the Zebra Routing Daemon for FreeBSD. We use this software on our main router to provide BGP4 routing.

Installing the port

# cd /usr/ports/net/quagga
# make ( only enable SNMP support in the options)
# make install
# make clean

Setting up the service

# echo quagga_enable=\"YES\" >> /etc/rc.conf
# echo quagga_daemons=\"zebra bgpd\"
# echo router_enable-\"NO\" >> /etc/rc.conf
# echo watchquagga_enable=\"YES\" >> /etc/rc.con

Starting the service

# /usr/local/etc/rc.d/quagga start
# /usr/local/etc/rc.d/watchquagga start

Note: I have not included all the configuration file for quagga. Your on your own there. I do plan to write some docs on that in the future… stay tuned 😉

Leave a Comment

Your email address will not be published.