Assalamu'alikum wr.wb
Kali ini kita akan belajar bagaimana cara mengkonfigurasi Dynamic Routing dengan menggunakan RIP versi 2. RIP atau Routing Information Protocol merupakan salah satu jenis dynamic routing dengan protocol Distance Vector. Untuk lebih jelasnya tentang RIP kalian bisa membacanya di artikel Static Routing dan Dynamic Routing.
Baiklah langsung saja, berikut ini adalah topology yang akan kita konfigurasi RIP Routing :
Setting IP Router dan Client
Router0
Router>enable
Router#configure terminal
Router(config)#interface f0/0
Router(config-if)#ip add 10.10.10.1 255.255.255.252
Router(config-if)#no sh
Router(config)#int f0/1
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 1.1.1.1 255.255.255.255
Router#configure terminal
Router(config)#interface f0/0
Router(config-if)#ip add 10.10.10.1 255.255.255.252
Router(config-if)#no sh
Router(config)#int f0/1
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 1.1.1.1 255.255.255.255
Router1
Router>en
Router#conf t
Router(config)#int f0/0
Router(config-if)#ip add 10.10.10.2 255.255.255.252
Router(config-if)#no sh
Router(config)#int f0/1
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int s0/0/0
Router(config-if)#ip add 20.20.20.1 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 2.2.2.2 255.255.255.0
Router#conf t
Router(config)#int f0/0
Router(config-if)#ip add 10.10.10.2 255.255.255.252
Router(config-if)#no sh
Router(config)#int f0/1
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int s0/0/0
Router(config-if)#ip add 20.20.20.1 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 2.2.2.2 255.255.255.0
Router2
Router>en
Router#conf t
Router(config-if)#int s0/0/0
Router(config-if)#ip add 20.20.20.2 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int f0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 3.3.3.3 255.255.255.255
Router#conf t
Router(config-if)#int s0/0/0
Router(config-if)#ip add 20.20.20.2 255.255.255.252
Router(config-if)#no sh
Router(config-if)#int f0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#int l0
Router(config-if)#ip add 3.3.3.3 255.255.255.255
Client
1. Klik pada icon PC atau Laptop lalu pilih pada tab Desktop
2. Setelah itu masukkan IP address, Subnet Mask dan Gatewaynya
3. Lakukan langkah 1 dan 2 pada semua PC dengan IP sesuai topology
Konfigurasi RIP Setiap Router
Router0
Router1
Router2
NB : Tambahkan setiap network yang terhubung secara langsung ke Router
Melihat tabel Routing setiap Router
Lihatlah tabel routing setiap router, apabila sudah ada Huruf 'R' dan juga network yang telah di routing tadi, maka RIP telah berhasil ditambahkan ke tabel routing.
Router0
Router1
Router2
Melakukan test PING antar Router dan Client
Router0 > Router2
Router2 > Router0 (loopback)
Client Router0 > Client Router1 dan Client Router2
1. Klik ikon PC atau Laptop, Kemudian pilih tab Desktop
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#net 1.1.1.1
Router(config-router)#net 10.10.10.0
Router(config-router)#net 192.168.1.0
Router(config-router)#no auto-summary
Router(config-router)#ver 2
Router(config-router)#net 1.1.1.1
Router(config-router)#net 10.10.10.0
Router(config-router)#net 192.168.1.0
Router(config-router)#no auto-summary
Router1
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#net 2.2.2.2
Router(config-router)#net 10.10.10.0
Router(config-router)#net 20.20.20.0
Router(config-router)#net 192.168.2.0
Router(config-router)#no auto-summary
Router(config-router)#ver 2
Router(config-router)#net 2.2.2.2
Router(config-router)#net 10.10.10.0
Router(config-router)#net 20.20.20.0
Router(config-router)#net 192.168.2.0
Router(config-router)#no auto-summary
Router2
Router(config)#router rip
Router(config-router)#ver 2
Router(config-router)#net 3.3.3.3
Router(config-router)#net 20.20.20.0
Router(config-router)#net 192.168.3.0
Router(config-router)#no auto-summary
Router(config-router)#ver 2
Router(config-router)#net 3.3.3.3
Router(config-router)#net 20.20.20.0
Router(config-router)#net 192.168.3.0
Router(config-router)#no auto-summary
NB : Tambahkan setiap network yang terhubung secara langsung ke Router
Melihat tabel Routing setiap Router
Lihatlah tabel routing setiap router, apabila sudah ada Huruf 'R' dan juga network yang telah di routing tadi, maka RIP telah berhasil ditambahkan ke tabel routing.
Router0
Router#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
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/2] via 10.10.10.2, 00:00:01, FastEthernet0/0
10.0.0.0/30 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/30 is subnetted, 1 subnets
R 20.20.20.0 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
R 192.168.2.0/24 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
R 192.168.3.0/24 [120/2] via 10.10.10.2, 00:00:01, FastEthernet0/0
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
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/2] via 10.10.10.2, 00:00:01, FastEthernet0/0
10.0.0.0/30 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/30 is subnetted, 1 subnets
R 20.20.20.0 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
R 192.168.2.0/24 [120/1] via 10.10.10.2, 00:00:01, FastEthernet0/0
R 192.168.3.0/24 [120/2] via 10.10.10.2, 00:00:01, FastEthernet0/0
Router1
Router#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
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 1.0.0.0/8 is possibly down, routing via 10.10.10.1, FastEthernet0/0
R 1.1.1.1/32 [120/1] via 10.10.10.1, 00:00:14, FastEthernet0/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 20.20.20.2, 00:00:04, Serial0/0/0
10.0.0.0/30 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, Serial0/0/0
R 192.168.1.0/24 [120/1] via 10.10.10.1, 00:00:14, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
R 192.168.3.0/24 [120/1] via 20.20.20.2, 00:00:04, Serial0/0/0
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
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 1.0.0.0/8 is possibly down, routing via 10.10.10.1, FastEthernet0/0
R 1.1.1.1/32 [120/1] via 10.10.10.1, 00:00:14, FastEthernet0/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 20.20.20.2, 00:00:04, Serial0/0/0
10.0.0.0/30 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, Serial0/0/0
R 192.168.1.0/24 [120/1] via 10.10.10.1, 00:00:14, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
R 192.168.3.0/24 [120/1] via 20.20.20.2, 00:00:04, Serial0/0/0
Router2
Router#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
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 1.0.0.0/8 is possibly down, routing via 20.20.20.1, Serial0/0/0
R 1.1.1.1/32 [120/2] via 20.20.20.1, 00:00:20, Serial0/0/0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
10.0.0.0/30 is subnetted, 1 subnets
R 10.10.10.0 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, Serial0/0/0
R 192.168.1.0/24 [120/2] via 20.20.20.1, 00:00:20, Serial0/0/0
R 192.168.2.0/24 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
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
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 1.0.0.0/8 is possibly down, routing via 20.20.20.1, Serial0/0/0
R 1.1.1.1/32 [120/2] via 20.20.20.1, 00:00:20, Serial0/0/0
2.0.0.0/24 is subnetted, 1 subnets
R 2.2.2.0 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
10.0.0.0/30 is subnetted, 1 subnets
R 10.10.10.0 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, Serial0/0/0
R 192.168.1.0/24 [120/2] via 20.20.20.1, 00:00:20, Serial0/0/0
R 192.168.2.0/24 [120/1] via 20.20.20.1, 00:00:20, Serial0/0/0
C 192.168.3.0/24 is directly connected, FastEthernet0/0
Melakukan test PING antar Router dan Client
Router0 > Router2
Router#ping 20.20.20.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.20.20.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/11 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.20.20.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/11 ms
Router2 > Router0 (loopback)
Router#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/36 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/36 ms
Client Router0 > Client Router1 dan Client Router2
1. Klik ikon PC atau Laptop, Kemudian pilih tab Desktop
2. Pilih Command Prompt, setelah itu PING Client Router1 dan Client Router2
Sekian yang dapat saya sampaikan, kurang lebihnya mohon maaf. Apabila masih ada yang belum paham dapat bertanya di kolom komentar. Semoga artikel kali ini bermanfaat. Terimakasih
Wassalamu'alaikum wr.wb
Tidak ada komentar:
Posting Komentar