Kali ini kita akan belajar konfigurasi routing dinamis. Routing protocol yang akan kita gunakan kali ini adalah RIP (Routing Information Protocol) versi 1..
Masih dengan topologi jaringan yang sama, yaitu seperti yang bisa dilihat pada gambar 1 :
Gambar 1
Setelah kita buat topologinya, selanjutnya kita akan konfigurasikan untuk setiap routernya.

KONFIGURASI R1
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#INT FA0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#int s2/0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#clock rate 9600
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#
R1(config)#router rip
R1(config-router)#network 192.168.1.1
R1(config-router)#network 1.1.1.0

R1(config-router)#^Z
R1#write
Building configuration...
[OK]
R1#show ip route
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial2/0
R    2.0.0.0/8 [120/1] via 1.1.1.2, 00:00:03, Serial2/0
R    3.0.0.0/8 [120/1] via 1.1.1.2, 00:00:03, Serial2/0
R    4.0.0.0/8 [120/3] via 1.1.1.2, 00:00:03, Serial2/0
R    5.0.0.0/8 [120/2] via 1.1.1.2, 00:00:03, Serial2/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
R    192.168.2.0/24 [120/1] via 1.1.1.2, 00:00:03, Serial2/0
R    192.168.3.0/24 [120/2] via 1.1.1.2, 00:00:03, Serial2/0
R    192.168.4.0/24 [120/2] via 1.1.1.2, 00:00:03, Serial2/0
     R    192.168.5.0/24 [120/3] via 1.1.1.2, 00:00:03, Serial2/0

KONFIGURASI R2
Router>en
Router#conf t
Router(config)#host R2
R2(config)#int fa 0/0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int s2/0
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#clock rate 9600
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int s3/0
R2(config-if)#ip add 2.2.2.1 255.255.255.0
R2(config-if)#clock rate 9600
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int s6/0
R2(config-if)#ip add 3.3.3.1 255.255.255.0
R2(config-if)#clock rate 9600
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#router rip
R2(config-router)#network 1.1.1.0
R2(config-router)#network 2.2.2.0
R2(config-router)#network 3.3.3.0
R2(config-router)#network 192.168.2.0
R2(config-router)#^Z
R2#write
Building configuration...
[OK]
R2#show ip route
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial2/0
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Serial3/0
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Serial6/0
R    4.0.0.0/8 [120/2] via 3.3.3.2, 00:00:13, Serial6/0
R    5.0.0.0/8 [120/1] via 3.3.3.2, 00:00:13, Serial6/0
R    192.168.1.0/24 [120/1] via 1.1.1.1, 00:00:10, Serial2/0
C    192.168.2.0/24 is directly connected, FastEthernet0/0
R    192.168.3.0/24 [120/1] via 2.2.2.2, 00:00:06, Serial3/0
R    192.168.4.0/24 [120/1] via 3.3.3.2, 00:00:13, Serial6/0
R    192.168.5.0/24 [120/2] via 3.3.3.2, 00:00:13, Serial6/0

KONFIGURASI R3
Router>en
Router#conf t
Router(config)#host R3
R3(config)#int fa0/0
R3(config-if)#ip add 192.168.3.1 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int s3/0
R3(config-if)#ip add 2.2.2.2 255.255.255.0
R3(config-if)#clock rate 9600
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int s2/0
R3(config-if)#ip add 4.4.4.1 255.255.255.0
R3(config-if)#clock rate 9600
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#router rip
R3(config-router)#network 192.168.3.0
R3(config-router)#network 2.2.2.0
R3(config-router)#network 3.3.3.0
R3(config-router)#^Z
R3#write
Building configuration...
[OK]
R3#show ip route
R    1.0.0.0/8 [120/1] via 2.2.2.1, 00:00:29, Serial3/0
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Serial3/0
R    3.0.0.0/8 [120/1] via 2.2.2.1, 00:00:29, Serial3/0
     4.0.0.0/24 is subnetted, 1 subnets
C       4.4.4.0 is directly connected, Serial2/0
R    5.0.0.0/8 [120/2] via 2.2.2.1, 00:00:29, Serial3/0
R    192.168.1.0/24 [120/2] via 2.2.2.1, 00:00:29, Serial3/0
R    192.168.2.0/24 [120/1] via 2.2.2.1, 00:00:29, Serial3/0
C    192.168.3.0/24 is directly connected, FastEthernet0/0
R    192.168.4.0/24 [120/2] via 2.2.2.1, 00:00:29, Serial3/0
R    192.168.5.0/24 [120/3] via 2.2.2.1, 00:00:29, Serial3/0
KONFIGURASI R4
Router>en
Router#conf t
Router(config)#host R4
R4(config)#int fa0/0
R4(config-if)#ip add 192.168.4.1 255.255.255.0
R4(config-if)#no shut
R4(config-if)#exit
R4(config)#int s2/0
R4(config-if)#ip add 3.3.3.2 255.255.255.0
R4(config-if)#clock rate 9600
R4(config-if)#no shut
R4(config-if)#exit
R4(config)#int s3/0
R4(config-if)#ip add 5.5.5.1 255.255.255.0
R4(config-if)#no shut
R4(config-if)#exit
R4(config)#router rip
R4(config-router)#network 192.168.4.0
R4(config-router)#network 3.3.3.0
R4(config-router)#network 5.5.5.0
R4(config-router)#^Z
R4#write
Building configuration...
[OK]
R4#show ip route
R    1.0.0.0/8 [120/1] via 3.3.3.1, 00:00:16, Serial2/0
R    2.0.0.0/8 [120/1] via 3.3.3.1, 00:00:16, Serial2/0
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Serial2/0
R    4.0.0.0/8 [120/1] via 5.5.5.2, 00:00:27, Serial3/0
     5.0.0.0/24 is subnetted, 1 subnets
C       5.5.5.0 is directly connected, Serial3/0
R    192.168.1.0/24 [120/2] via 3.3.3.1, 00:00:16, Serial2/0
R    192.168.2.0/24 [120/1] via 3.3.3.1, 00:00:16, Serial2/0
R    192.168.3.0/24 [120/2] via 3.3.3.1, 00:00:16, Serial2/0
C    192.168.4.0/24 is directly connected, FastEthernet0/0
R    192.168.5.0/24 [120/1] via 5.5.5.2, 00:00:27, Serial3/0
KONFIGURASI R5
Router>en
Router#conf t
Router(config)#host R5
R5(config)#int fa 0/0
R5(config-if)#ip add 192.168.5.1 255.255.255.0
R5(config-if)#no shut
R5(config-if)#exit
R5(config)#int s3/0
R5(config-if)#ip add 5.5.5.2 255.255.255.0
R5(config-if)#clock rate 9600
R5(config-if)#no shut
R5(config-if)#exit
R5(config)#int s2/0
R5(config-if)#ip add 4.4.4.2 255.255.255.0
R5(config-if)#clock rate 9600
R5(config-if)#no shut
R5(config-if)#exit
R5(config)#router rip
R5(config-router)#network 4.4.4.0
R5(config-router)#network 5.5.5.0
R5(config-router)#network 192.168.5.0
R5(config-router)#^Z
R5#write
Building configuration...
[OK]
R5#show ip route
R    1.0.0.0/8 [120/2] via 5.5.5.1, 00:00:05, Serial3/0
R    2.0.0.0/8 [120/2] via 5.5.5.1, 00:00:05, Serial3/0
R    3.0.0.0/8 [120/1] via 5.5.5.1, 00:00:05, Serial3/0
     4.0.0.0/24 is subnetted, 1 subnets
C       4.4.4.0 is directly connected, Serial2/0
     5.0.0.0/24 is subnetted, 1 subnets
C       5.5.5.0 is directly connected, Serial3/0
R    192.168.1.0/24 [120/3] via 5.5.5.1, 00:00:05, Serial3/0
R    192.168.2.0/24 [120/2] via 5.5.5.1, 00:00:05, Serial3/0
R    192.168.3.0/24 [120/3] via 5.5.5.1, 00:00:05, Serial3/0
R    192.168.4.0/24 [120/1] via 5.5.5.1, 00:00:05, Serial3/0
C    192.168.5.0/24 is directly connected, FastEthernet0/0
PENGUJIAN KONEKSI ANTAR PC
Dari 192.168.1.2 ke 192.168.2.2 dan 192.168.3.2, hasilnya bisa dilihat di gambar 2 :
Gambar 2

Dari 192.168.1.2 ke 192.168.4.2 dan 192.168.5.2, hasilnya bisa dilihat di gambar 3 :
Gambar 3

Semoga materi ini bisa bermanfaat untuk mahasiswaku yang mengikuti mata kuliah Jaringan Komputer 2.

0 komentar:

Posting Komentar

 
Top