Routing Information Protocol (RIP) adalah sebuah protokol routing dinamis yang digunakan dalam jaringan LAN (Local Area Network) dan WAN (Wide Area Network). Oleh karena itu protokol ini diklasifikasikan sebagai Interior Gateway Protocol (IGP). Protokol ini menggunakan algoritma Distance-Vector Routing.
Protokol ini telah dikembangkan beberapa kali, sehingga terciptalah RIP Versi 2. Kedua versi ini masih digunakan sampai sekarang, meskipun begitu secara teknis mereka telah dianggap usang oleh teknik-teknik yang lebih maju, seperti Open Shortest Path First (OSPF) dan protokol OSI IS-IS. RIP juga telah diadaptasi untuk digunakan dalam jaringan IPv6, yang dikenal sebagai standar RIPng (RIP Next Generation / RIP generasi berikutnya).
Protokol ini telah dikembangkan beberapa kali, sehingga terciptalah RIP Versi 2. Kedua versi ini masih digunakan sampai sekarang, meskipun begitu secara teknis mereka telah dianggap usang oleh teknik-teknik yang lebih maju, seperti Open Shortest Path First (OSPF) dan protokol OSI IS-IS. RIP juga telah diadaptasi untuk digunakan dalam jaringan IPv6, yang dikenal sebagai standar RIPng (RIP Next Generation / RIP generasi berikutnya).
Sumber : id.wikipedia
Contoh topologi :
Contoh Konfigurasi Router :
Router Jakarta >>
Jakarta-rt1(config)#hostname jakarta-rt1Router Bandung >>
jakarta-rt1(config)#interface loopback 0
jakarta-rt1(config-if)#ip address 17.8.8.45 255.255.255.255
jakarta-rt1(config-if)#exit
jakarta-rt1(config)#interface Fa0/0
jakarta-rt1(config-if)#ip address 10.1.1.1 255.255.255.0
jakarta-rt1(config-if)#description Link to Bandung
jakarta-rt1(config-if)#no shutdown
jakarta-rt1(config-if)#
jakarta-rt1(config-if)#exit
jakarta-rt1(config)#
jakarta-rt1(config)#router rip
jakarta-rt1(config-router)#version 2
jakarta-rt1(config-router)#network 17.8.8.0
jakarta-rt1(config-router)#network 10.1.1.0
jakarta-rt1(config-router)#no auto-summary
jakarta-rt1(config-router)#exit
bandung-rt1#
bandung-rt1#wr mem
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
Building configuration...
[OK]
R2(config)#hostname bandung-rt1
bandung-rt1(config)#interface loopback 0
bandung-rt1(config-if)#ip address 17.8.8.46 255.255.255.255
bandung-rt1(config-if)#exit
bandung-rt1(config)#interface Fa0/0
bandung-rt1(config-if)#ip address 10.1.1.2 255.255.255.0
bandung-rt1(config-if)#description Link to Jakarta
bandung-rt1(config-if)#no shutdown
bandung-rt1(config-if)#exit
bandung-rt1(config)#
bandung-rt1(config)#interface Fa1/0
bandung-rt1(config-if)#ip address 10.2.2.1 255.255.255.0
bandung-rt1(config-if)#description Link to Surabaya
bandung-rt1(config-if)#no shutdown
bandung-rt1(config-if)#exit
bandung-rt1(config)#router rip
bandung-rt1(config-router)#version 2
bandung-rt1(config-router)#network 17.8.8.0
bandung-rt1(config-router)#network 10.1.1.0
bandung-rt1(config-router)#network 10.2.2.0
bandung-rt1(config-router)#no auto-summary
bandung-rt1(config-router)#exit
bandung-rt1#
bandung-rt1#wr mem
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
Building configuration...
[OK]
Router Surabaya >>
Surabaya(config)#hostname surabaya-rt1
surabaya-rt1(config)#interface loopback 0
surabaya-rt1(config-if)#ip address 17.8.8.47 255.255.255.255
surabaya-rt1(config-if)#exit
surabaya-rt1(config)#inter
surabaya-rt1(config)#interface Fa0/0
surabaya-rt1(config-if)#ip address 10.2.2.2 255.255.255.0
surabaya-rt1(config-if)#description Link to Bandung
surabaya-rt1(config-if)#no shutdown
surabaya-rt1(config-if)#
surabaya-rt1(config-if)#exit
surabaya-rt1(config)#
surabaya-rt1(config)#router rip
surabaya-rt1(config-router)#version 2
surabaya-rt1(config-router)#network 17.8.8.0
surabaya-rt1(config-router)#network 10.2.2.0
surabaya-rt1(config-router)#no auto-summary
surabaya-rt1(config-router)#^Z
surabaya-rt1#
surabaya-rt1#wr mem
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
Building configuration...
[OK]
Cek / Test hasil konfigurasi :
jakarta-rt1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
17.0.0.0/32 is subnetted, 3 subnets
C 17.8.8.45 is directly connected, Loopback0
R 17.8.8.47 [120/2] via 10.1.1.2, 00:00:16, FastEthernet0/0
R 17.8.8.46 [120/1] via 10.1.1.2, 00:00:16, FastEthernet0/0
10.0.0.0/24 is subnetted, 2 subnets
R 10.2.2.0 [120/1] via 10.1.1.2, 00:00:16, FastEthernet0/0
C 10.1.1.0 is directly connected, FastEthernet0/0
jakarta-rt1#
jakarta-rt1#
jakarta-rt1#ping 17.8.8.46
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.46, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 100/135/192 ms
jakarta-rt1#ping 17.8.8.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.47, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 192/272/408 ms
bandung-rt1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
17.0.0.0/32 is subnetted, 3 subnets
R 17.8.8.45 [120/1] via 10.1.1.1, 00:00:06, FastEthernet0/0
R 17.8.8.47 [120/1] via 10.2.2.2, 00:00:24, FastEthernet1/0
C 17.8.8.46 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.2.0 is directly connected, FastEthernet1/0
C 10.1.1.0 is directly connected, FastEthernet0/0
bandung-rt1#
bandung-rt1#ping 17.8.8.45
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.45, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 144/207/244 ms
bandung-rt1#ping 17.8.8.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.47, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 144/563/1472 ms
surabaya-rt1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
17.0.0.0/32 is subnetted, 3 subnets
R 17.8.8.45 [120/2] via 10.2.2.1, 00:00:04, FastEthernet0/0
C 17.8.8.47 is directly connected, Loopback0
R 17.8.8.46 [120/1] via 10.2.2.1, 00:00:04, FastEthernet0/0
10.0.0.0/24 is subnetted, 2 subnets
C 10.2.2.0 is directly connected, FastEthernet0/0
R 10.1.1.0 [120/1] via 10.2.2.1, 00:00:04, FastEthernet0/0
surabaya-rt1#
surabaya-rt1#ping 17.8.8.45
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.45, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 288/402/576 ms
surabaya-rt1#ping 17.8.8.46
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.8.8.46, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 140/344/1104 ms
Comments (0)
Post a Comment