Demo Site
-=-[ Welcome to Nate Ripper Zone !!! ]-=-


http://nate-ripper.blogspot.com Did You Know...
»» (?)

Tuesday, November 08, 2011

CISCO Route RIP

Example :
 Routing Table :

Configuration :
Jakarta :
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Jakarta
Jakarta(config)#int f0/0
Jakarta(config-if)#description **Link to Server**
Jakarta(config-if)#ip add 192.168.1.1 255.255.255.0
Jakarta(config-if)#no shut
Jakarta(config-if)#exit
Jakarta(config)#int s0/0/0
Jakarta(config-if)#description **Link to Bandung**
Jakarta(config-if)#ip add 1.1.1.1 255.255.255.252
Jakarta(config-if)#clock rate 9600
Jakarta(config-if)#no shut
Jakarta(config-if)#exit
Jakarta(config)#int s0/0/1
Jakarta(config-if)#description **Link to Semarang**
Jakarta(config-if)#ip add 2.2.2.1 255.255.255.252
Jakarta(config-if)#clock rate 9600
Jakarta(config-if)#no shut
Jakarta(config-if)#exit
Jakarta(config)#router rip
Jakarta(config-router)#version 2
Jakarta(config-router)#network 192.168.1.0
Jakarta(config-router)#network 1.1.1.0
Jakarta(config-router)#network 2.2.2.0
Jakarta(config-router)#end
Jakarta#


Bandung :
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Bandung
Bandung(config)#int f0/0
Bandung(config-if)#description **Link to Server**
Bandung(config-if)#ip add 192.168.2.1 255.255.255.0
Bandung(config-if)#no shut
Bandung(config-if)#exit
Bandung(config)#int s0/0/0
Bandung(config-if)#description **Link to Jakarta**
Bandung(config-if)#ip add 1.1.1.2 255.255.255.252
Bandung(config-if)#clock rate 9600
Bandung(config-if)#no shut
Bandung(config-if)#exit
Bandung(config)#int s0/0/1
Bandung(config-if)#description **Link to Surabaya**
Bandung(config-if)#ip add 3.3.3.2 255.255.255.252
Bandung(config-if)#clock rate 9600
Bandung(config-if)#no shut
Bandung(config-if)#exit
Bandung(config)#router rip
Bandung(config-router)#version 2
Bandung(config-router)#network 192.168.2.0
Bandung(config-router)#network 1.1.1.0
Bandung(config-router)#network 3.3.3.0
Bandung(config-router)#end
Bandung#


Semarang :
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Semarang
Semarang(config)#int f0/0
Semarang(config-if)#description **Link to Server**
Semarang(config-if)#ip add 192.168.3.1 255.255.255.0
Semarang(config-if)#no shut
Semarang(config-if)#exit
Semarang(config)#int s0/0/0
Semarang(config-if)#description **Link to Jakarta**
Semarang(config-if)#ip add 2.2.2.2 255.255.255.252
Semarang(config-if)#clock rate 9600
Semarang(config-if)#no shut
Semarang(config-if)#exit
Semarang(config)#int s0/0/1
Semarang(config-if)#description **Link to Surabaya**
Semarang(config-if)#ip add 4.4.4.2 255.255.255.252
Semarang(config-if)#clock rate 9600
Semarang(config-if)#no shut
Semarang(config-if)#exit
Semarang(config)#router rip
Semarang(config-router)#version 2
Semarang(config-router)#network 192.168.3.0
Semarang(config-router)#network 2.2.2.0
Semarang(config-router)#network 4.4.4.0
Semarang(config-router)#end
Semarang#


Surabaya :
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Surabaya
Surabaya(config)#int f0/0
Surabaya(config-if)#description **Link to Server**
Surabaya(config-if)#ip add 192.168.4.1 255.255.255.0
Surabaya(config-if)#no shut
Surabaya(config-if)#exit
Surabaya(config)#int s0/0/0
Surabaya(config-if)#description **Link to Bandung**
Surabaya(config-if)#ip add 3.3.3.1 255.255.255.252
Surabaya(config-if)#clock rate 9600
Surabaya(config-if)#no shut
Surabaya(config-if)#exit
Surabaya(config)#int s0/0/1
Surabaya(config-if)#description **Link to Semarang**
Surabaya(config-if)#ip add 4.4.4.1 255.255.255.252
Surabaya(config-if)#clock rate 9600
Surabaya(config-if)#no shut
Surabaya(config-if)#exit
Surabaya(config)#router rip
Surabaya(config-router)#version 2
Surabaya(config-router)#network 192.168.4.0
Surabaya(config-router)#network 3.3.3.0
Surabaya(config-router)#network 4.4.4.0
Surabaya(config-router)#end
Surabaya#


Setelah Selesai test ping Server - Router, Router - Router, Server - Server
jadi pada dasarnya Route RIP hanya menuliskan network yg terhubung dengan router.
misalkan Router Jakarta hanya menulis network 192.168.1.0, 1.1.1.0, 2.2.2.0
kemudian Router Jakarta akan membroadcast ke Router Tetangga bahwa dia mempunyai 3 network yg terhubung dengannya, demikian terus menerus hingga semua Router tahu dan sepakat untuk menentukan jalur paket" data...
contoh : ketika Server Jakarta akan bertukar data dengan Server Surabaya, maka server akan mengirim data ke Router Jakarta, dan Router Jakarta akan memilih jalur untuk menuju Router Surabaya melalui Router Bandung / Router Semarang.