Difference between revisions of "TCP/IP: Quagga RIP"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | ||
− | |||
! | ! | ||
− | 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 | ||
+ | |||
+ | ==Melihat Konfigurasi== | ||
+ | |||
+ | Masuk ke router rip | ||
+ | |||
+ | telnet localhost ripd | ||
+ | |||
+ | Default password zebra | ||
+ | |||
+ | Untuk melihat apa yang terjadi di RIP, ketik, | ||
+ | |||
+ | show ip rip | ||
+ | |||
+ | Contoh hasil | ||
+ | |||
+ | Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP | ||
+ | Sub-codes: | ||
+ | (n) - normal, (s) - static, (d) - default, (r) - redistribute, | ||
+ | (i) - interface | ||
+ | |||
+ | Network Next Hop Metric From Tag Time | ||
+ | C(i) 192.168.1.0/24 0.0.0.0 1 self 0 | ||
+ | R(n) 192.168.100.0/24 192.168.1.152 2 192.168.1.152 0 02:57 | ||
+ | C(i) 192.168.200.0/24 0.0.0.0 1 self 0 | ||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 11:33, 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
Melihat Konfigurasi
Masuk ke router rip
telnet localhost ripd
Default password zebra
Untuk melihat apa yang terjadi di RIP, ketik,
show ip rip
Contoh hasil
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP Sub-codes: (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface Network Next Hop Metric From Tag Time C(i) 192.168.1.0/24 0.0.0.0 1 self 0 R(n) 192.168.100.0/24 192.168.1.152 2 192.168.1.152 0 02:57 C(i) 192.168.200.0/24 0.0.0.0 1 self 0