Konfigurasi Static 5 Router Cisco Packet Tracer - Router
Nama : Dede Anwar
| KONFIGURASI STATIC ROUTE |
Tanggal : 30 Oktober 2018
|
Kelas : XII TKJ 1
|
SK/ KD : -
| |
Joobsheet Ke : -
|
Guru : Pak Maman
|
I. TOPOLOGI
II. TUJUAN
Agar siswa mengerti dalam melakukan IP STATIC dan menghubungkan PC dengan PC router yang berbeda
III. ALAT DAN BAHAN
PADA ROUTER 1
II. TUJUAN
Agar siswa mengerti dalam melakukan IP STATIC dan menghubungkan PC dengan PC router yang berbeda
III. ALAT DAN BAHAN
- LAPTOP/PC
- CISCO PAKET TRACER
IV. LANGKAH - LANGKAH KONFIGURASI
PADA ROUTER 1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip add 10.10.10.1 255.255.255.252
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1(config)#int fa0/1
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
PADA ROUTER 2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#hostname R2
R2(config)#
R2(config)#int fa0/0
R2(config-if)#ip add 10.10.10.2 255.255.255.252
R2(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#ex
R2(config)#int fa0/1
R2(config-if)#ip add 20.20.20.1 255.255.255.252
R2(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R2(config-if)#ex
R2(config)#int eth0/1/0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface Ethernet0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1/0, changed state to up
R2(config-if)#ex
PADA ROUTER 3
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#hostname R3
R3(config)#int fa0/0
R3(config-if)#ip add 20.20.20.2 255.255.255.252
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#ex
R3(config)#int eth0/1/0
R3(config-if)#ip add 30.30.30.1 255.255.255.252
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface Ethernet0/1/0, changed state to up
R3(config-if)#ex
R3(config)#int fa0/1
R3(config-if)#ip add 192.168.3.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R3(config-if)#ex
PADA ROUTER 4
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#hostname R4
R4(config)#int fa0/0
R4(config-if)#ip add 30.30.30.2 255.255.255.252
R4(config-if)#no sh
R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R4(config-if)#ex
R4(config)#int eth0/1/0
R4(config-if)#ip add 40.40.40.1 255.255.255.252
R4(config-if)#no sh
R4(config-if)#
%LINK-5-CHANGED: Interface Ethernet0/1/0, changed state to up
R4(config-if)#ex
R4(config)#int fa0/1
R4(config-if)#ip add 192.168.4.1 255.255.255.0
R4(config-if)#no sh
R4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R4(config-if)#ex
PADA ROUTER 5
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip domain-lookup
Router(config)#hostname R5
R5(config)#int fa0/0
R5(config-if)#ip add 40.40.40.2 255.255.255.252
R5(config-if)#no sh
R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R5(config-if)#ex
R5(config-if)#int fa0/1
R5(config-if)#ip add 192.168.5.1 255.255.255.0
R5(config-if)#no sh
R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R5(config-if)#ex
R5(config)#
LALU MASUKKAN IP ADDRESS DI PC CLIENT
PC0 :
address = 192.168.1.2
netmask = 255.255.255.0
gateway = 192.168.1.1
dns = 8.8.8.8
PC1 :
address = 192.168.2.2
netmask = 255.255.255.0
gateway = 192.168.2.1
dns = 8.8.8.8
PC2 :
address = 192.168.3.2
netmask = 255.255.255.0
gateway = 192.168.3.1
dns = 8.8.8.8
PC3 :
address = 192.168.4.2
netmask = 255.255.255.0
gateway = 192.168.4.1
dns = 8.8.8.8
PC4 :
address = 192.168.5.2
netmask = 255.255.255.0
gateway = 192.168.5.1
dns = 8.8.8.8
SETELAH MENAMBAHKAN IP ADDRESS, LALU KONFIGURASIKAN STATIC ROUTE
PADA ROUTER 1
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
PADA ROUTER 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
PADA ROUTER 3
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
PADA ROUTER 4
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
PADA ROUTER 5
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
SETELAH MELAKUKAN IP ROUTE STATIC, LALU CEK
PADA ROUTER 1
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
PADA ROUTER 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
PADA ROUTER 3
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
PADA ROUTER 4
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
PADA ROUTER 5
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. tahap selanjutnya yaitu pengujian ping, ping antar semua PC CLIENT dan harus TTL/REPLY.
V.KESIMPULAN
Dalam melakukan konfigurasi static route harus dilakukan dengan teliti, jika tidak akan terjadi kesalahan dalam melakukan PING
Bardzo fajnie napisane. Jestem pod wrażeniem i pozdrawiam.
BalasHapus