Senin, 05 Desember 2011

KONFIGURASI ROUTER DENGAN PACKET TRACER

Pada Kesempatan kali Ini saya akan coba Ulas mengenai PengKonfigurasian Router, Dimana dalam hal ini tidak hanya sebuah router.
Adapun hasil yang dibuat adalah sebagai berikut :
Skema diatas saya buat dengan menggunakan aplikasi yaitu Packet Tracer 5.1, sehingga kita tidak perlu membutuhkan bermacam-macam hardware untuk mencobanya. Sobat Blogger sekalian bisa mendownload Packet Tracer disini :
Setelah Packet tracer dijalankan dan kita gambar skemanya, tentunya baik Jenis Router, Switch, PC, maupun kabel sudah sesuai, langkah selanjutnya adalah Proses Pengkonfigurasian Router.
1. Konfigurasi Router LAB_A
Double Klik Pada Router, sehingga muncul tampilan :
Setelah itu pilih  CLI
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Router(config)#hostname Lab_A
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_A(config)#int fa0/0
Lab_A(config-if)#ip address 192.5.5.1 255.255.255.0
Lab_A(config-if)#no sh
Lab_A(config-if)#exit
Lab_A(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_A(config)#int fa0/1
Lab_A(config-if)#ip address 205.7.5.1 255.255.255.0
Lab_A(config-if)#no sh
Lab_A(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_A#wr mem
Building configuration...
[OK]
Lab_A >ena
Lab_Ar#conf t
Lab_A (config)#int s0/0/0
Lab_A(config-if)#ip address 201.100.11.1 255.255.255.0
Lab_A(config-if)#clock rate 64000
Lab_A(config-if)#no sh
Lab_A(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_A#wr mem
Building configuration...
[OK]
2. Konfigurasi Router LAB_B
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Router(config)#hostname Lab_B
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_B(config)#int fa0/0
Lab_B(config-if)#ip address 219.17.100.1 255.255.255.0
Lab_B(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Lab_B(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_Br#wr mem
Building configuration...
[OK]
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_B(config)#int s0/2/0
Lab_B(config-if)#ip address 201.100.11.2 255.255.255.0
Lab_B(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Lab_B(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/0, changed state to up
Lab_B(config-if)#exit
Lab_B(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Lab_Br#
Lab_B>ena
Lab_B#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_B(config)#int s0/2/1
Lab_B(config-if)#ip address 199.6.13.1 255.255.255.0
Lab_B(config-if)#clock rate 64000
Lab_B(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/2/1, changed state to up
Lab_B(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/1, changed state to up
Lab_B(config-if)#exit
Lab_B(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_B#wr mem
Building configuration...
[OK]

3. Konfigurasi Router LAB_C
 --- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Router(config)#hostname Lab_C
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_C(config)#int fa0/0
Lab_C(config-if)#ip address 223.8.15.1
% Incomplete command.
Lab_C(config-if)#ip address 223.8.15.1 255.255.255.0
Lab_C(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Lab_C(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_C#wr mem
Building configuration...
[OK]
Lab_C#conf t
Lab_C(config)#int s0/2/0
Lab_C(config-if)#ip address 199.6.13.2 255.255.255.0
Lab_C(config-if)#no sh
Lab_C(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_Cr#conf t
Lab_C(config)#int s0/2/1
Lab_C(config-if)#ip address 204.204.7.1 255.255.255.0
Lab_C(config-if)#clock rate 64000
Lab_C(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/2/1, changed state to down
Lab_C(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_C#wr mem
Building configuration...
[OK]

4. Konfigurasi Router LAB_D
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>ena
Router#conf t
Router(config)#hostname Lab_D
Lab_D(config)#inf fa0/0
Lab_D(config-if)#ip address 210.93.105.1 255.255.255.0
Lab_D(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Lab_D(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_D#wr mem
Building configuration...
[OK]
Lab_D#conf t
Lab_D(config)#int s0/2/0
Lab_D(config-if)#ip address 204.204.7.2 255.255.255.0
Lab_D(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/2/0, changed state to up
Lab_D(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2/0, changed state to up
Lab_D(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_Dr#wr mem
Building configuration...
[OK]
5. Konfigurasi Router LAB_E
--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>ena

Router#conf t

Router(config)#hostname Lab_E

Lab_E(config)#int fa0/0

Lab_Er(config-if)#ip address 210.93.105.2 255.255.255.0

Lab_E(config-if)#no sh

Lab_E(config-if)#^Z

%SYS-5-CONFIG_I: Configured from console by console

Lab_E#wr mem

Building configuration...

[OK]
 
 
Setelah Router dikonfigurasikan kita lanjutkan dengan menyeting IP ROUTE pada Tiap – tiap router yaitu caranya sebagai berikut : 
1. Setting IP Route LAB_A
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_A(config)#ip route 219.17.100.0 255.255.255.0 201.100.11.2
Lab_A(config)#ip route 210.93.105.0 255.255.255.0 201.100.11.2
Lab_A(config)#ip route 223.8.15.15.0 255.255.255.0 201.100.11.2
Lab_A(config)#ip route 210.93.105.0 255.255.255.0 201.100.11.2
Lab_A(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_A#wr mem
Building configuration...
[OK]

Atau Juga Bisa dengan Default Route

Lab_A#conf t
Lab_A(config)#ip route 0.0.0.0 0.0.0.0 201.100.11.2
Lab_A(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_A#wr mem
Building configuration...
[OK]

Kita bisa melihat router mana saja yang sudah terkoneksi caranya di bawah :

Lab_A#sh 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 201.100.11.2 to network 0.0.0.0
C    192.5.5.0/24 is directly connected, FastEthernet0/0
C    201.100.11.0/24 is directly connected, Serial0/0/0
C    205.7.5.0/24 is directly connected, FastEthernet0/1
S    210.93.105.0/24 [1/0] via 201.100.11.2
S    219.17.100.0/24 [1/0] via 201.100.11.2
S    223.8.15.0/24 [1/0] via 201.100.11.2
S    223.8.151.0/24 [1/0] via 201.100.11.2
S*   0.0.0.0/0 [1/0] via 201.100.11.2

2. Setting IP Route LAB_B
Lab_B>ena
Lab_B#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_B(config)#ip route 205.7.5.0 255.255.255.0 201.100.11.1
Lab_B(config)#ip route 192.5.5.0 255.255.255.0 201.100.11.1
Lab_B(config)#ip route 223.8.15.0 255.255.255.0 199.6.13.2
Lab_B(config)#ip route 210.93.105.0 255.255.255.0 199.6.13.2
Lab_B(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_B#wr mem
Building configuration...
[OK]
Lab_B#

Kita bisa melihat router mana saja yang sudah terkoneksi caranya di bawah :
Lab_B#sh ip route
Gateway of last resort is not set
S    192.5.5.0/24 [1/0] via 201.100.11.1
C    199.6.13.0/24 is directly connected, Serial0/2/1
C    201.100.11.0/24 is directly connected, Serial0/2/0
S    205.7.5.0/24 [1/0] via 201.100.11.1
S    210.93.105.0/24 [1/0] via 199.6.13.2
C    219.17.100.0/24 is directly connected, FastEthernet0/0
S    223.8.15.0/24 [1/0] via 199.6.13.2
3. Setting IP Route LAB_C
Lab_C>ena

Lab_Cr#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Lab_C(config)#ip route 219.17.100.0 255.255.255.0 199.6.13.1

Lab_C(config)#ip route 192.5.5.0 255.255.255.0 199.6.13.1

Lab_C(config)#ip route 205.7.5.0 255.255.255.0 199.6.13.1

Lab_C(config)#ip route 210.93.105.2 255.255.255.0 204.204.7.2

Lab_C(config)#^Z

%SYS-5-CONFIG_I: Configured from console by console

Lab_C#wr mem

Building configuration...

[OK]

Kita bisa melihat router mana saja yang sudah terkoneksi caranya di bawah :

Lab_C#sh ip route

Gateway of last resort is not set

S    192.5.5.0/24 [1/0] via 199.6.13.1

C    199.6.13.0/24 is directly connected, Serial0/2/0

C    204.204.7.0/24 is directly connected, Serial0/2/1

S    205.7.5.0/24 [1/0] via 199.6.13.1

S    210.93.105.0/24 [1/0] via 204.204.7.2

S    219.17.100.0/24 [1/0] via 199.6.13.1

C    223.8.15.0/24 is directly connected, FastEthernet0/0

4. Setting IP Route LAB_D
Lab_D>ena
Lab_D#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_D(config)#ip route 223.8.15.0 255.255.255.0 204.204.7.1
Lab_D(config)#ip route 219.17.100.0 255.255.255.0 204.204.7.1
Lab_D(config)#ip route 192.5.5.0 255.255.255.0 204.204.7.1
Lab_D(config)#ip route 205.7.5.0 255.255.255.0 204.204.7.1
Lab_D(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Lab_D#wr mem
Building configuration...
[OK]

Kita bisa melihat router mana saja yang sudah terkoneksi caranya di bawah :
Lab_D#sh 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
S    192.5.5.0/24 [1/0] via 204.204.7.1
C    204.204.7.0/24 is directly connected, Serial0/2/0
S    205.7.5.0/24 [1/0] via 204.204.7.1
C    210.93.105.0/24 is directly connected, FastEthernet0/0
S    219.17.100.0/24 [1/0] via 204.204.7.1
S    223.8.15.0/24 [1/0] via 204.204.7.1
Router#

5. Setting IP Route LAB_E
Lab_E>ENA
Lab_Er#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Lab_E(config)#ip route 223.8.15.0 255.255.255.0 204.204.7.1
Lab_E(config)#ip route 223.8.15.0 255.255.255.0 210.93.105.1
Lab_E(config)#ip route 219.17.100.0 255.255.255.0 210.93.105.1
Lab_E(config)#ip route 192.5.5.0 255.255.255.0 210.93.105.1
Lab_E(config)#ip route 205.7.5.0 255.255.255.0 210.93.105.1
Lab_E(config)#ip route 210.93.105.0 255.255.255.0 210.93.105.1
Lab_E(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Lab_Er#wr mem
Building configuration...
[OK]
Kita bisa melihat router mana saja yang sudah terkoneksi caranya di bawah :
Lab_E#sh 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

S    192.5.5.0/24 [1/0] via 210.93.105.1
S    205.7.5.0/24 [1/0] via 210.93.105.1
C    210.93.105.0/24 is directly connected, FastEthernet0/0
S    219.17.100.0/24 [1/0] via 210.93.105.1
S    223.8.15.0/24 [1/0] via 210.93.105.1
Lab_E#
Sampai disini tugas kita belum selesai. Karena masing2 PC belum diberi IP Address, Subnet Mask dan Juga Default Gateway.
Untuk Mengkonfigurasikan Caranya.
Double Click Pada PC, akan muncul sbb:
Setelah Itu, Klik Dekstop
Kemudian klik IP Configuration

Misal disini, untuk PC 0 karena berada pada network 205.7.5.0, saya beri IP address 205.7.5.2, SM 255.255.255.0 dan DG 205.7.5.1
Setelah itu Close, Hal yang sama dilakukan pada PC lain.
Langkah Selanjutnya adalah, kita test koneksinya, apakan sudah benar-benar terhubung atau belum. 
Untuk mengujinya kita lakukan Ping dari satu komputer ke komputer lain, misal kita akan uji dari komputer paling kiri, (PC 0) ke Komputer Ujung kanan (PC 9), Jika Ping mendapat balasan (Reply) maka konfigurasi sudah dinyatakan berhasil.
Dibawah ini Ping dari PC 0 (205.7.5.2) Ke PC 9 (210.93.105.4)

 Sekian, Semoga bermanfaat dan terimakasih.

Tidak ada komentar:

Posting Komentar