# cd /usr/ports/net/quagga # make # make install
# cd /usr/local/etc/quagga # cp /usr/local/share/examples/quagga/zebra.conf.sample zebra.conf # cp /usr/local/share/examples/quagga/ospfd.conf.sample ospfd.conf
router ospf redistribute connected network 202.144.139.192/26 area 0
# ifconfig eth0 x.x.x.x netmask y.y.y.y # ifconfig eth1 x.x.x.x netmask y.y.y.y
quagga_enable="YES" quagga_daemons="zebra ospfd"
# /etc/rc.d/quagga start
# telnet 127.0.0.1 2601 -- to manage zebra (password "zebra")
Try: show interface
enable -- to get superuser mode (password "zebra")
show run
show ip route
exit
# telnet 127.0.0.1 2604 -- to manage ospfd
Try: show ip ospf neighbours
show ip ospf route
exit
Hint: use [TAB] for command completion, and '?' to get a list of options
If you were running this in production, remember to change the default passwords!