Routing Information Protocol – RIP
Routing Information Protocol atau yang biasa disebut dengan RIP adalah salah satu Dynamic Routing Protocol yang termasuk dalam katagori Distance Vector. RIP menggunakan jumlah lompatan (hop count) sebagai metric, dengan maksimum metric sebanyak 15 hop. Untuk hop yang ke-16 tidak akan terdeteksi karena diluar dari kemampuan RIP untuk melakukan lompatan (hop). Setiap 30 detik RIP melakukan update table routing dengan menggunakan default administrative distance 120.
Berikut ini contoh topology network dengan menggunakan RIP sebagai process routingnya. Simulasi menggunakan Packet Tracer yang dapat anda download disini.

Terdapat 3 buah router, yang diasumsikan berada di 3 kota yaitu : Jakarta (sebagai kantor pusat), Bandung dan Bekasi (sebagai kantor cabang). Kantor pusat Jakarta menginginkan semua cabang dapat terhubung satu dengan lainnya. Maka yang harus dilakukan adalah :
- Membuat routing ketiga network yang berada pada 3 lokasi tersebut.
- Mensetting semua device termasuk PC dengan IP address yang sesuai dengan network ID nya.
- Melakukan ping test dari masing-masing device (khususnya PC) sebagai end user ke semua network ID lainnya (kantor cabang atau pusat).
Berikut ini cara mengkonfigur routing RIP dan semua device, termasuk PC.
Pada router di kantor pusat Jakarta.
Secara default router 1841 pada Packet Tracer tidak terdapat Serial module (WIC-1T atau WIC-2T), sehingga kita harus menambahkan terlebih dahulu pada module kosong yang tersedia pada router. Berikut ini setting semua device yang d adi cabang Jakarta :
ROUTER JAKARTA
-
Tambahkan serial module WIC-2T pada module kosong router 1841. Kita memakai WIC-2T dikarenakan ada 2 link yang akan kita hubungkan, yaitu router cabang Bandung dan router cabang Bekasi.
-
Configure host name router Jakarta dengan cara :
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R.Jakarta(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R.Jakarta#
-
Configure Fast Ethernet dan Serial Port.
Untuk mengetahui semua port dan status yang dimiliki oleh router Jakarta, gunakan perintah : sh ip int brief seperti berikut ini :
R.Jakarta#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual administratively down down
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 unassigned YES manual administratively down down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
R.Jakarta#
Dari list diatas dapat kita peroleh informasi, router Jakarta memiliki 2 Fast Ethernet dan 2 Serial port. Untuk mengconfigure masing-masing port berikut ini caranya :
R.Jakarta#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R.Jakarta(config)#int fa0/0
R.Jakarta(config-if)#ip add 192.168.1.1 255.255.255.0
R.Jakarta(config-if)#no sh
R.Jakarta(config-if)#exit
R.Jakarta(config)#int se0/0/0
R.Jakarta(config-if)#ip add 192.168.100.1 255.255.255.252
R.Jakarta(config-if)#no sh
R.Jakarta(config-if)#clock rate 64000
R.Jakarta(config-if)#exit
R.Jakarta(config)#int se0/0/1
R.Jakarta(config-if)#ip add 192.168.101.1 255.255.255.252
R.Jakarta(config-if)#no sh
R.Jakarta(config-if)#clock rate 64000
R.Jakarta(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R.Jakarta#
Untuk mengetahui perubahan apa yang sudah kita lakukan, ketik perintah : sh ip int brief
R.Jakarta#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 192.168.100.1 YES manual down down
Serial0/0/1 192.168.101.1 YES manual down down
Vlan1 unassigned YES manual administratively down down
R.Jakarta#
Dari informasi diatas, didapat informasi bahwa semua port (Fast Ethernet dan Serial) sudah mendapatkan IP Address masing-masing, sedangkan untuk status masih “Down” dikarenakan di sisi router bekasi dan bandung belum disetting untuk routingnya.
-
Configure router RIP
R.Jakarta#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R.Jakarta(config)#route rip
R.Jakarta(config-router)#network 192.168.100.0
R.Jakarta(config-router)#network 192.168.101.0
R.Jakarta(config-router)#network 192.168.1.0
R.Jakarta(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R.Jakarta#wr
Destination filename [startup-config]?
Building configuration…
[OK]
R.Jakarta#
SWITCH JAKARTA
-
Configure host name switch
Switch>
Switch>ena
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SW.Jakata
SW.Jakata(config)#
-
Configure VLAN Switch & IP Default Gateway
SW.Jakata#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW.Jakata(config)#int vlan 1
SW.Jakata(config-if)#ip add 192.168.1.2 255.255.255.0
SW.Jakata(config-if)#no sh
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW.Jakata(config-if)#exit
SW.Jakata(config)#ip def
SW.Jakata(config)#ip default-gateway 192.168.1.1
SW.Jakata(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
-
Saving Configuration
SW.Jakata#wr
Destination filename [startup-config]?
Building configuration…
[OK]
SW.Jakata#
PC JAKARTA
Setting pada PC sangatlah mudah, cukup dengan mengisi IP Address, Gateway dan Subnet Mask sesuai dengan ip range masing masing IP network, maka koneksi akan berjalan dengan baik.


Untuk memastikan bahwa semua konfigurasi yang ada di sisi kantor pusat semuanya berhasil dapat dilakukan pengecekan dengan cara ping test ke masing-masing device.
PC to Switch:
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=57ms TTL=255
Reply from 192.168.1.2: bytes=32 time=43ms TTL=255
Reply from 192.168.1.2: bytes=32 time=60ms TTL=255
Reply from 192.168.1.2: bytes=32 time=19ms TTL=255
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 19ms, Maximum = 60ms, Average = 44ms
PC to Router:
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=78ms TTL=255
Reply from 192.168.1.1: bytes=32 time=76ms TTL=255
Reply from 192.168.1.1: bytes=32 time=104ms TTL=255
Reply from 192.168.1.1: bytes=32 time=94ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 76ms, Maximum = 104ms, Average = 88ms
Dari hasil ping test tersebut diatas, semua koneksi dapat terhubung dengan baik. Untuk setting semua device di kantor cabang lain (Bandung & Bekasi) adalah sama dengan cara setting device di kantor pusat Jakarta. Cuman bedanya, IP yang harus di masukkan adalah IP address yang sesuai dengan IP network yang dipakai.
Berikut ini konfigurasi router rip pada router kantor cabang Bandung :
R.Bandung#
R.Bandung#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R.Bandung(config)#router rip
R.Bandung(config-router)#network 192.168.100.0
R.Bandung(config-router)#network 192.168.0.0
R.Bandung(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R.Bandung#wr
Destination filename [startup-config]?
Building configuration…
[OK]
R.Bandung#
Untuk melihat hasil dari konfigurasi yang sudah dilakukan dapat dilakukan dengan cara, ketik perintah : sh ip int brief
R.Bandung#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.0.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 192.168.100.2 YES manual up up
Vlan1 unassigned YES manual administratively down down
R.Bandung#
Status dari serial0/0/0 berubah menjadi “UP” dikarenakan sudah terjadi komunikasi antara router Bandung dengan router Jakarta, routing rip sudah terbentuk dengan benar.
Untuk Cabang Bekasi, setting routing rip sebagai berikut :
R.Bekasi#
R.Bekasi#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R.Bekasi(config)#router rip
R.Bekasi(config-router)#network 192.168.2.0
R.Bekasi(config-router)#network 192.168.101.0
R.Bekasi(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
R.Bekasi#wr
Destination filename [startup-config]?
Building configuration…
[OK]
R.Bekasi#
Untuk melihat hasil dari konfigurasi yang sudah dilakukan dapat dilakukan dengan cara, ketik perintah : sh ip int brief
R.Bekasi#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.2.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 192.168.101.2 YES manual up up
Vlan1 unassigned YES manual administratively down down
R.Bekasi#
Status dari serial0/0/0 berubah menjadi “UP” dikarenakan sudah terjadi komunikasi antara router Bekasi dengan router Jakarta, routing rip sudah terbentuk dengan benar.
Untuk setting port yang lainnya bisa melihat setting port router pada cabang Jakarta, demikian juga dengan setting switch dan PC.
Secara keseluruhan setting router dimasing-masing cabang dapat dilihat seperti berikut :
R.Bandung#
R.Bandung#sh run
Building configuration…
Current configuration : 471 bytes!
version 12.3
no service password-encryption!
hostname R.Bandung
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
duplex auto
speed auto
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
interface Serial0/0/0
ip address 192.168.100.2 255.255.255.252
interface Vlan1
no ip address
shutdown
router rip
network 192.168.0.0
network 192.168.100.0
ip classless
line con 0
line vty 0 4
login
end
R.Bandung#
R.Bekasi#
R.Bekasi#sh run
Building configuration…
Current configuration : 470 bytes
!
version 12.3
no service password-encryption
!
hostname R.Bekasi
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 192.168.101.2 255.255.255.252
!
interface Vlan1
no ip address
shutdown
!
router rip
network 192.168.2.0
network 192.168.101.0
!
ip classless
!
line con 0
line vty 0 4
login
!
end
R.Bekasi#
Berikut ini tampilan dari simulator Packet Tracer ketika semua device di konfigur dan semua routing terhubung dengan benar

Berikut ini ping test PC6 ke PC0 :
PC>ping 192.168.0.10
Pinging 192.168.0.10 with 32 bytes of data:
Reply from 192.168.0.10: bytes=32 time=269ms TTL=125
Reply from 192.168.0.10: bytes=32 time=224ms TTL=125
Reply from 192.168.0.10: bytes=32 time=253ms TTL=125
Reply from 192.168.0.10: bytes=32 time=283ms TTL=125
Ping statistics for 192.168.0.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 224ms, Maximum = 283ms, Average = 257ms
Berikut ini ping test PC6 ke PC3:
PC>ping 192.168.1.10
Pinging 192.168.1.10 with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time=179ms TTL=126
Reply from 192.168.1.10: bytes=32 time=208ms TTL=126
Reply from 192.168.1.10: bytes=32 time=204ms TTL=126
Reply from 192.168.1.10: bytes=32 time=211ms TTL=126
Ping statistics for 192.168.1.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 179ms, Maximum = 211ms, Average = 200ms
Baca Artikel lainnya :
- Cisco Switch Configuration – Part #1
- Cisco Switch Configuration –Part #2
- Static Routing
- Cisco Icons Library 2009
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.









