Assalamualikum Wr.Wb
Pada ksempatang kali ini saya akan membahas tentang cara konfigurasi Static Routing (5 Router) pada Packet Tracer . Sebelumnya silahkan baca Virtual Trunking Protocol agar dapat memudahkan dalam mengonfigurasi lab ini. apa itu Static Routing ? Static Routing adalah sebuah router yang memiliki tabel routing static yang diatur secara manual oleh para administrator jaringan. Pada Lab ini kita akan belajar mengonfigurasi static routing pada Packet Tracer atau router cisco. Berikut adalah topologi yang yang akan digunakan pada lab ini :
Pada topologi diatas mengguanakan 5 Router dan 2 Laptop Client, masing-masing interface router mempunyai IP yang berbeda dan 2 Router terhubung ke Laptop client, semua router dapat terhubung dan client juga dapat terhubung antar client atau ke router.
Perintah :
Pada topologi diatas mengguanakan 5 Router dan 2 Laptop Client, masing-masing interface router mempunyai IP yang berbeda dan 2 Router terhubung ke Laptop client, semua router dapat terhubung dan client juga dapat terhubung antar client atau ke router.
Perintah :
- Router1 = 192.168.1.1/24 dan 10.10.10.1/24
- Router2 = 10.10.10.2/24 dan 20.20.20.1/24
- Router3 = 20.20.20.2/24 dan 30.30.30.1/24
- Router4 = 30.30.30.2/24 dan 40.40.40.1/24
- Router5 = 40.40.40.2/24 dan 192.168.2.0/24
- Meggunakan IP Route
Perangkat yang dibutuhkan :
- Hubungkan Router ke Laptop Client / Router ke Router menggunakan Kabel tipe cross
Konfigurasi pada router dan Laptop Client:
- Masuk ke mode global-config dan Menghidupkan masing-masing interface pada router dengan parintah "No sh"
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int range fa0/0-1
R1(config-if-range)#no sh
R1(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int range fa0/0-1
R2(config-if-range)#no sh
R2(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int range fa0/0-1
R3(config-if-range)#no sh
R3(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R4>en
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int range fa0/0-1
R4(config-if-range)#no sh
R4(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R5>en
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#int range fa0/0-1
R5(config-if-range)#no sh
R5(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int range fa0/0-1
R1(config-if-range)#no sh
R1(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int range fa0/0-1
R2(config-if-range)#no sh
R2(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int range fa0/0-1
R3(config-if-range)#no sh
R3(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R4>en
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int range fa0/0-1
R4(config-if-range)#no sh
R4(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R5>en
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#int range fa0/0-1
R5(config-if-range)#no sh
R5(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Setelah interface pada masing-masing router hidup maka kabel akan berubah berwarna hijau
- Konfigurasi selanjutnya adalah IP menambahkan pada masing-masing interface router
R1(config)#int fa0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#ex
R1(config)#int fa0/1
R1(config-if)#ip add 10.10.10.1 255.255.255.0
R1(config-if)#ex
R2(config)#int fa0/0
R2(config-if)#ip add 10.10.10.2 255.255.255.0
R2(config-if)#ex
R2(config)#int fa0/1
R2(config-if)#ip add 20.20.20.1 255.255.255.0
R2(config-if)#ex
R3(config)#int fa0/0
R3(config-if)#ip add 20.20.20.2 255.255.255.0
R3(config-if)#ex
R3(config)#int fa0/1
R3(config-if)#ip add 30.30.30.1 255.255.255.0
R3(config-if)#ex
R4(config)#int fa0/0
R4(config-if)#ip add 30.30.30.2 255.255.255.0
R4(config-if)#ex
R4(config)#int fa0/1
R4(config-if)#ip add 40.40.40.1 255.255.255.0
R4(config-if)#ex
R5(config)#int fa0/0
R5(config-if)#ip add 40.40.40.2 255.255.255.0
R5(config-if)#ex
R5(config)#int fa0/1
R5(config-if)#ip add 192.168.2.1 255.255.255.0
R5(config-if)#ex
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#ex
R1(config)#int fa0/1
R1(config-if)#ip add 10.10.10.1 255.255.255.0
R1(config-if)#ex
R2(config)#int fa0/0
R2(config-if)#ip add 10.10.10.2 255.255.255.0
R2(config-if)#ex
R2(config)#int fa0/1
R2(config-if)#ip add 20.20.20.1 255.255.255.0
R2(config-if)#ex
R3(config)#int fa0/0
R3(config-if)#ip add 20.20.20.2 255.255.255.0
R3(config-if)#ex
R3(config)#int fa0/1
R3(config-if)#ip add 30.30.30.1 255.255.255.0
R3(config-if)#ex
R4(config)#int fa0/0
R4(config-if)#ip add 30.30.30.2 255.255.255.0
R4(config-if)#ex
R4(config)#int fa0/1
R4(config-if)#ip add 40.40.40.1 255.255.255.0
R4(config-if)#ex
R5(config)#int fa0/0
R5(config-if)#ip add 40.40.40.2 255.255.255.0
R5(config-if)#ex
R5(config)#int fa0/1
R5(config-if)#ip add 192.168.2.1 255.255.255.0
R5(config-if)#ex
- Mengecek apakah IP pada masing-masing interface sudah susai apa tidak dengan menggunakan printah "do sh ip int br"
R1(config)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
FastEthernet0/1 10.10.10.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R5(config)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 40.40.40.2 YES manual up up
FastEthernet0/1 192.168.2.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
FastEthernet0/1 10.10.10.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R2(config)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.2 YES manual up up
FastEthernet0/1 20.20.20.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R3(config)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 20.20.20.2 YES manual up up
FastEthernet0/1 30.30.30.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R4(config)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 30.30.30.2 YES manual up up
FastEthernet0/1 40.40.40.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 40.40.40.2 YES manual up up
FastEthernet0/1 192.168.2.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
- Tahap selanjutnya yaitu mengisi IP Address pada Laptop Client
- Tahap selanjutnya menambahkan perintah "Ip route" maka kita harus mengenalkan semua network pada masing-masing router agar antar router dapat berkomunikasi/Terhubung.
R1(config)#ip route 20.20.20.0 255.255.255.0 10.10.10.2
R1(config)#ip route 30.30.30.0 255.255.255.0 10.10.10.2
R1(config)#ip route 40.40.40.0 255.255.255.0 10.10.10.2
R1(config)#ip route 192.168.2.0 255.255.255.0 10.10.10.2
R2(config)#ip route 30.30.30.0 255.255.255.0 20.20.20.2
R2(config)#ip route 40.40.40.0 255.255.255.0 20.20.20.2
R2(config)#ip route 192.168.2.0 255.255.255.0 20.20.20.2
R2(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.1
R3(config)#ip route 40.40.40.0 255.255.255.0 30.30.30.2
R3(config)#ip route 192.168.2.0 255.255.255.0 30.30.30.2
R3(config)#ip route 10.10.10.0 255.255.255.0 20.20.20.1
R3(config)#ip route 192.168.1.0 255.255.255.0 20.20.20.1
R4(config)#ip route 20.20.20.0 255.255.255.0 30.30.30.1
R4(config)#ip route 10.10.10.0 255.255.255.0 30.30.30.1
R4(config)#ip route 192.168.1.0 255.255.255.0 30.30.30.1
R4(config)#ip route 192.168.2.0 255.255.255.0 40.40.40.2
R5(config)#ip route 30.30.30.0 255.255.255.0 40.40.40.1
R5(config)#ip route 20.20.20.0 255.255.255.0 40.40.40.1
R5(config)#ip route 10.10.10.0 255.255.255.0 40.40.40.1
R5(config)#ip route 192.168.1.0 255.255.255.0 40.40.40.1
R1(config)#ip route 30.30.30.0 255.255.255.0 10.10.10.2
R1(config)#ip route 40.40.40.0 255.255.255.0 10.10.10.2
R1(config)#ip route 192.168.2.0 255.255.255.0 10.10.10.2
R2(config)#ip route 30.30.30.0 255.255.255.0 20.20.20.2
R2(config)#ip route 40.40.40.0 255.255.255.0 20.20.20.2
R2(config)#ip route 192.168.2.0 255.255.255.0 20.20.20.2
R2(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.1
R3(config)#ip route 40.40.40.0 255.255.255.0 30.30.30.2
R3(config)#ip route 192.168.2.0 255.255.255.0 30.30.30.2
R3(config)#ip route 10.10.10.0 255.255.255.0 20.20.20.1
R3(config)#ip route 192.168.1.0 255.255.255.0 20.20.20.1
R4(config)#ip route 20.20.20.0 255.255.255.0 30.30.30.1
R4(config)#ip route 10.10.10.0 255.255.255.0 30.30.30.1
R4(config)#ip route 192.168.1.0 255.255.255.0 30.30.30.1
R4(config)#ip route 192.168.2.0 255.255.255.0 40.40.40.2
R5(config)#ip route 30.30.30.0 255.255.255.0 40.40.40.1
R5(config)#ip route 20.20.20.0 255.255.255.0 40.40.40.1
R5(config)#ip route 10.10.10.0 255.255.255.0 40.40.40.1
R5(config)#ip route 192.168.1.0 255.255.255.0 40.40.40.1
- Cek tabel routing pada masing-masing router
R1(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 10.10.10.2
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 10.10.10.2
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 10.10.10.2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S 192.168.2.0/24 [1/0] via 10.10.10.2
R2(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/24 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet0/1
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 20.20.20.2
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 20.20.20.2
S 192.168.1.0/24 [1/0] via 10.10.10.1
S 192.168.2.0/24 [1/0] via 20.20.20.2
R3(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 20.20.20.1
20.0.0.0/24 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet0/0
30.0.0.0/24 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/1
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 30.30.30.2
S 192.168.1.0/24 [1/0] via 20.20.20.1
S 192.168.2.0/24 [1/0] via 30.30.30.2
[1/0] via 20.20.20.1
R4(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 30.30.30.1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 30.30.30.1
30.0.0.0/24 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/0
40.0.0.0/24 is subnetted, 1 subnets
C 40.40.40.0 is directly connected, FastEthernet0/1
S 192.168.1.0/24 [1/0] via 30.30.30.1
S 192.168.2.0/24 [1/0] via 40.40.40.2
S 192.168.20.0/24 [1/0] via 40.40.40.2
R5(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 40.40.40.1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 40.40.40.1
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 40.40.40.1
40.0.0.0/24 is subnetted, 1 subnets
C 40.40.40.0 is directly connected, FastEthernet0/0
S 192.168.1.0/24 [1/0] via 40.40.40.1
C 192.168.2.0/24 is directly connected, FastEthernet0/1
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 10.10.10.2
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 10.10.10.2
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 10.10.10.2
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S 192.168.2.0/24 [1/0] via 10.10.10.2
R2(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
20.0.0.0/24 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet0/1
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 20.20.20.2
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 20.20.20.2
S 192.168.1.0/24 [1/0] via 10.10.10.1
S 192.168.2.0/24 [1/0] via 20.20.20.2
R3(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 20.20.20.1
20.0.0.0/24 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet0/0
30.0.0.0/24 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/1
40.0.0.0/24 is subnetted, 1 subnets
S 40.40.40.0 [1/0] via 30.30.30.2
S 192.168.1.0/24 [1/0] via 20.20.20.1
S 192.168.2.0/24 [1/0] via 30.30.30.2
[1/0] via 20.20.20.1
R4(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 30.30.30.1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 30.30.30.1
30.0.0.0/24 is subnetted, 1 subnets
C 30.30.30.0 is directly connected, FastEthernet0/0
40.0.0.0/24 is subnetted, 1 subnets
C 40.40.40.0 is directly connected, FastEthernet0/1
S 192.168.1.0/24 [1/0] via 30.30.30.1
S 192.168.2.0/24 [1/0] via 40.40.40.2
S 192.168.20.0/24 [1/0] via 40.40.40.2
R5(config)#do sh ip route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 40.40.40.1
20.0.0.0/24 is subnetted, 1 subnets
S 20.20.20.0 [1/0] via 40.40.40.1
30.0.0.0/24 is subnetted, 1 subnets
S 30.30.30.0 [1/0] via 40.40.40.1
40.0.0.0/24 is subnetted, 1 subnets
C 40.40.40.0 is directly connected, FastEthernet0/0
S 192.168.1.0/24 [1/0] via 40.40.40.1
C 192.168.2.0/24 is directly connected, FastEthernet0/1
Perhatikan bahwa masing-masing router sudah mengenali semua network melalui static routing. tahapa selanjutnya yaitu pengujian ping, disini saya menggunakan Laptop .
Demikian cara untuk mengonfigurasi Static Routing (5 Router) pada Packet Tracer semoga bermanfaat dan pembaca dapat mempraktikkannya.
Wassalamualikum Wr.Wb
Demikian cara untuk mengonfigurasi Static Routing (5 Router) pada Packet Tracer semoga bermanfaat dan pembaca dapat mempraktikkannya.
Wassalamualikum Wr.Wb
9 komentar
Write komentarthanks gan caranya berhasil
Replymantaf gan :D
Replymantap hahaha
ReplyMantep gan, baru ane pelajarin ini
Replymau coba pelajarin dulu gan
ReplyTercerahkan setelah baca gan
Replyizin mau nyoba dulu ya
Replymantep bnget gan, thanks infonya
ReplyMantep bro
ReplyEmoticonEmoticon