IKLAN

Online Based Media Learning

Selasa, 27 Juli 2021

RIP ( Routing Information Protokol )

Mengenal apa itu RIP

RIP atau Routing Information Protokol merupakan sebuah metode routing secara dinamik. Routing ini adalah salah satu yang tertua dari yang lain. Routing ini menggunakan protokol Distance-vector routing dimana menerapkan hop sebagai Matrik routing.

Topologi
Buat topologi seperti gambar dibawah ini.


Konfigurasi IP Address
R1

R1(config)#interface fa0/0
R1(config-if)#ip address 10.10.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface se0/0/0
R1(config-if)#ip address 10.20.30.1 255.255.255.252
R1(config-if)#no shutdown

R2
R2(config)#interface se0/0/0
R2(config-if)#ip address 10.20.30.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#interface fa0/0
R2(config-if)#ip address 10.20.20.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#interface se0/0/1
R2(config-if)#ip address 10.20.30.5 255.255.255.252
R2(config-if)#no shutdown
R3
R3(config)#interface se0/0/0
R3(config-if)#ip address 10.20.30.6 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#interface fa0/0
R3(config-if)#ip address 10.30.30.1 255.255.255.0
R3(config-if)#no shutdown

Konfigurasi PC
PC0
address : 10.10.10.2
netmask : 255.255.255.0
gateway : 10.10.10.1
PC1
address : 10.20.20.2
netmask : 255.255.255.0
gateway : 10.20.20.1
PC2
address : 10.30.30.2
netmask : 255.255.255.0
gateway : 10.30.30.1
 
Konfigurasi Routing

R1
R1(config)#router rip
R1(config-router)#ver 2
R1(config-router)#network 10.10.10.0
R1(config-router)#network 10.20.30.0
R2
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#network 10.20.30.0
R2(config-router)#network 10.20.20.0
R2(config-router)#network 10.20.30.4
  R3
R3(config)#router rip
R3(config-router)#ver 2
R3(config-router)#network 10.20.30.4
R3(config-router)#network 10.30.30.0

Verifikasi
Ping antara PC0 ke PC1
Ping antara PC1 ke PC2
Ping antara PC0 ke PC2

Status route
R1#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
C 10.10.10.0/24 is directly connected, FastEthernet0/0
R 10.20.20.0/24 [120/1] via 10.20.30.2, 00:00:28, Serial0/0/0
C 10.20.30.0/30 is directly connected, Serial0/0/0
R 10.20.30.4/30 [120/1] via 10.20.30.2, 00:00:28, Serial0/0/0
R 10.30.30.0/24 [120/2] via 10.20.30.2, 00:00:28, Serial0/0/0

R1#
C - Connected = routing yang otomatis ada ketika jaringan dihubungkan ke router.
R - RIP = Routing dengan protokol RIP

0 comments:

Posting Komentar

SILAHKAN TINGGALKAN KOMENTAR YANG BAIK