Wadah Belajar Linux, Debian, Mikrotik, Networking, Routing, dan Ilmu Pendukungnya

< Browse > Home / Linux / Blog article: Install quagga

| Mobile | RSS

Install quagga

July 28th, 2008 | 1 Comment | Posted in Linux

- Lihat versi quagga
# apt-cache policy quagga
quagga:
Installed: (none)
Candidate: 0.99.5-5etch3
Version table:
0.99.5-5etch3 0
500 http://kambing.ui.edu stable/main Packages
500 http://security.debian.org stable/updates/main Packages

- Download dan install quagga
# apt-get install quagga

- Klo pengen lihat dependensinya
# apt-cache depends quagga
quagga
Depends: libc6
Depends: libcap1
Depends: libpam0g
Depends: libreadline5
Depends: logrotate
Depends: iproute
|Depends: debconf
Depends: <debconf-2.0>
cdebconf
debconf
PreDepends: adduser
Suggests: snmpd
Conflicts: <zebra>
Conflicts: <zebra-pj>
Replaces: <zebra>
Replaces: <zebra-pj>

Kita harus aktifin daemon quagga untuk protokol ruting yg kita pengen.
zebra : Deklarasi interface dan static routing
bgpd : BGP routing protocol
ospfd : OSPF routing protocol
ospf6d : OSPF IPv6 routing protocol
ripd : RIP v2 routing protocol
ripngd : RIP IPv6 routing protocol
contoh kita hanya aktifin zebra dan ospf IPv4

# vim /etc/quagga/daemons
zebra=yes
bgpd=no
ospfd=yes
ospf6d=no
ripd=no
ripngd=no

- Konfigurasi file berada di /etc/quagga/*.conf, tiap2 daemon mempunyai file sendiri2
zebra : zebra.conf
bgpd : bgpd.conf
ospfd : ospfd.conf
ospf6d : ospf6d.conf
ripd : ripd.conf
ripngd : ripngd.conf
kita kopi paste aja dari contohnya :
# 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

- Kita bisa akses dengan telnet ke port masing2.
zebra : 2601
ripd : 2602
ripngd : 2603
ospfd : 2604
bgpd : 2605
ospf6d : 2606
misal
# telnet localhost 2601

- Untuk bisa pake vtysh, harus kopi paste lagi :D
# cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf

/etc/quagga/vtysh.conf
!
! Sample
!
! service integrated-vtysh-config
hostname quagga-router
username root nopassword
!

- Biar g ngeblink waktu di vtysh
# echo VTYSH_PAGER=more > /etc/environnement

- Set untuk permisi konfig filenya
# chown quagga.quaggavty /etc/quagga/*.conf
# chmod 640 /etc/quagga/*.conf

- Restart Service
# /etc/init.d/quagga restart

- Cara make bisa dengan telnet atau vtysh
# telnet localhost 2601
atau
# vtysh
atau klo pengen langsung dari shell
# vtysh -c “command”

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • Live
  • MisterWong
  • MySpace
  • Ping.fm
  • Slashdot
  • StumbleUpon
  • Technorati
  • Print
  • email
Leave a Reply 3276 views, 3 so far today |

Related Posts

Follow Discussion

One Response to “Install quagga”

  1. ardi Says:

    mau tanya, bagaimana cara merubah port defaul zebra untuk vtysh 2601 ke port yg lain?

    Thx

Leave a Reply




View My Stats