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

From OnnoWiki
Jump to navigation Jump to search
Line 34: Line 34:
 
  !
 
  !
 
  router rip
 
  router rip
 +
!
 +
! untuk memberitahukan router tersambung ke jaringan mana
 
  network 11.0.0.0/8
 
  network 11.0.0.0/8
 
  network eth0
 
  network eth0
 +
!
 +
! untuk memberitahukan router menjadi gateway ke jaringan mana
 
  route 10.0.0.0/8
 
  route 10.0.0.0/8
distribute-list private-only in eth0
 
 
  !
 
  !
  access-list private-only permit 192.168.1.0/24
+
  !distribute-list private-only in eth0
 +
!
 +
!access-list private-only permit 192.168.1.0/24
 
  !access-list private-only deny any
 
  !access-list private-only deny any
 
  !
 
  !
Line 46: Line 51:
 
  log stdout
 
  log stdout
  
 +
 +
==Melihar Konfigurasi==
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 10:10, 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
!
! untuk memberitahukan router tersambung ke jaringan mana
network 11.0.0.0/8
network eth0
!
! untuk memberitahukan router menjadi gateway ke jaringan mana
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


Melihar Konfigurasi

Pranala Menarik