FreeBSD: March 2013 Archives

BSD Router Project

user-pic
Vote 0 Votes

BSD Router Project 是以 FreeBSD + Quagga + Bird 建構的軟體路由器,
可以把 Image 檔寫到 HD/CF/DOM 開機使用, 如何用 dd 把 Image 寫到你的 device, 可參考 Installation 說明頁

開始後在系統內打 cli 即可進入 router, 在還沒進 cli 前, 基本上就是 FreeBSD
[root@router]~# cli

Hello, this is Quagga (version 0.99.17.11).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

router.bsdrp.net#

可以先設定一下 Password, 指令是 Cisco like,
router.bsdrp.net# conf t
router.bsdrp.net(config)# password your_password
router.bsdrp.net(config)# enable password your_enable_password
router.bsdrp.net(config)# exit
router.bsdrp.net# write

若要從外部 telnet 進來, 需修改 /etc/rc.conf 裡的 quagga_flags, 把要 LISTEN 的 IP 加入
預設只有 127.0.0.1, 例如:
quagga_flags="-d -A 127.0.0.1 -A 12.34.56.78"

改完後重啟, 就可以從外部使用 Port 2601 連到 zebra
其他 Port 對應的 Service 如下
zebrasrv 2600/tcp #zebra service
zebra 2601/tcp #zebra vty
ripd 2602/tcp #RIPd vty
ripngd 2603/tcp #RIPngd vty
ospfd 2604/tcp #OSPFd vty
bgpd 2605/tcp #BGPd vty
ospf6d 2606/tcp #OSPF6d vty

註: 在 Router 內 reload 真的會把整台機器重開

Recent Entries

About this Archive

This page is an archive of entries in the FreeBSD category from March 2013.

FreeBSD: August 2010 is the previous archive.

FreeBSD: May 2013 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives