Difference between revisions of "TCP/IP: Quagga RIP"

From OnnoWiki
Jump to navigation Jump to search
Line 18: Line 18:
 
  cp /usr/share/doc/quagga/examples/ripd.conf.sample /etc/quagga/ripd.conf
 
  cp /usr/share/doc/quagga/examples/ripd.conf.sample /etc/quagga/ripd.conf
 
  cp /usr/share/doc/quagga/examples/ripngd.conf.sample /etc/quagga/ripngd.conf
 
  cp /usr/share/doc/quagga/examples/ripngd.conf.sample /etc/quagga/ripngd.conf
 +
 +
==Contoh Konfigurasi RIP==
 +
 +
! -*- rip -*-
 +
!
 +
! RIPd sample configuration file
 +
!
 +
! $Id: ripd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
 +
!
 +
hostname ripd
 +
password zebra
 +
!
 +
! debug rip events
 +
! debug rip packet
 +
!
 +
router rip
 +
network 11.0.0.0/8
 +
network eth0
 +
route 10.0.0.0/8
 +
distribute-list private-only in eth0
 +
!
 +
access-list private-only permit 192.168.1.0/24
 +
!access-list private-only deny any
 +
!
 +
!log file /var/log/quagga/ripd.log
 +
!
 +
log stdout
  
  

Revision as of 09:53, 13 November 2013

Edit

vi /etc/quagga/daemons 

Supaya

zebra=yes
bgpd=no
ospfd=no
ospf6d=no
ripd=yes
ripngd=yes
isisd=no

Copy konfigurasi

cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf
cp /usr/share/doc/quagga/examples/ripd.conf.sample /etc/quagga/ripd.conf
cp /usr/share/doc/quagga/examples/ripngd.conf.sample /etc/quagga/ripngd.conf

Contoh Konfigurasi RIP

! -*- rip -*-
!
! RIPd sample configuration file
!
! $Id: ripd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
!
hostname ripd
password zebra
!
! debug rip events
! debug rip packet
!
router rip
network 11.0.0.0/8
network eth0
route 10.0.0.0/8
distribute-list private-only in eth0
!
access-list private-only permit 192.168.1.0/24
!access-list private-only deny any
!
!log file /var/log/quagga/ripd.log
!
log stdout


Pranala Menarik