Thursday 17 September 2015

Konfigurasi Static Router Cisco

Ujicoba kali ini kita akan mencoba melakukan konfigurasi router statis Cisco yang menggunakan 2 router dan 3 router. berikut ini adalah gambar dari jaringan router nya :

Berikut ini adalah konfigurasi router nya :





Konfigurasi komputer

·         komputer 1
IP address           192.168.1.1
Netmask              255.255.255.0
Gateway              192.168.1.100
PC Name             jupiter
·         Komputer 2
IP address           10.10.10.1
Netmask              255.0.0.0
Gateway              10.10.10.100
PC Name             jupiter

Konfigurasi Router beserta Switch

·         Router yang digunakan adalah jenis 2620 XM dengan penambahan satu serial port
·         Switch yang digunakan adalah 2950-24

Setelah computer terhubung pada router dan switch, silahkan lakukan koneksi dengan menggunakan test ping, apakah computer dengan switch dan router sudah saling terkoneksi ..?



Router  Jupiter

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Rjupiter
Rjupiter(config)#interface fa0/0
Rjupiter(config-if)#ip address 192.168.1.100 255.255.255.0
Rjupiter(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Rjupiter(config-if)#exit
Rjupiter(config)#interface serial0/0
Rjupiter(config-if)#ip address 172.16.1.100 255.255.0.0
Rjupiter(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Rjupiter(config-if)#clock rate 128000
Rjupiter(config-if)#

Router Leo
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Rleo
Rleo(config)#interface FastEthernet0/0
Rleo(config-if)#ip address 10.10.10.100 255.0.0.0
Rleo(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Rleo(config-if)#exit
Rleo(config)#interface serial0/0
Rleo(config-if)#ip address 172.16.1.200 255.255.0.0
Rleo(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Rleo(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Rleo(config-if)#clock rate 128000
Rleo(config-if)#

Lakukan koneksi ping dari router ke computer




Proses routing para router1

Router 1 jika ingin menjangkau network 10.0.0.0 harus melalui IP address 172.16.1.200 sehingga IP ini dapat menjadi  gateway bagi router, konfigurasi nya adalah sebagai berikut :

Rjupiter#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Rjupiter(config)#ip route 10.0.0.0 255.0.0.0 172.16.1.200
Rjupiter(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Rjupiter#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

S    10.0.0.0/8 [1/0] via 172.16.1.200
C    172.16.0.0/16 is directly connected, Serial0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
Rjupiter#

Proses routing para router2

Rleo#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Rleo(config)#ip route 192.168.1.0 255.255.255.0 172.16.1.100
Rleo(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Rleo#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

C    10.0.0.0/8 is directly connected, FastEthernet0/0
C    172.16.0.0/16 is directly connected, Serial0/0
S    192.168.1.0/24 [1/0] via 172.16.1.100
Rleo#


Static Router 3 Lokasi

Tambahkan 1 komponen WIC-1T pada router dengan hostname Tasikmalaya dan Jakarta, dan dua komponen WIC-1T pada router dengan hostname bandung.  Adapun konfigurasi pada tiap router adalah sebagai berikut :



Jaringan ini menggunakan  3 buah router  Cisco 2621 XM dan Switch 2950-24

Soal : Buat keseluruhan jaringan ini menjadi saling terhubung, sehingga setiap computer dapat saling berkomunikasi

 Seting Router Tasikmalaya

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Tasikmalaya
Tasikmalaya(config)#interface fa0/0
Tasikmalaya(config-if)#ip address 172.16.0.1 255.255.255.0
Tasikmalaya(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Tasikmalaya(config-if)#interface s0/0
Tasikmalaya(config-if)#ip address 202.10.10.4 255.255.255.0
Tasikmalaya(config-if)#clock rate 64000
Tasikmalaya(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Tasikmalaya(config-if)#exit
Tasikmalaya(config)#ip route 0.0.0.0 0.0.0.0 s0/0
Tasikmalaya(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Tasikmalaya#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Tasikmalaya#




Seting Router Jakarta


Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Jakarta
Jakarta(config)#interface fa0/0
Jakarta(config-if)#ip address 192.16.0.1 255.255.255.0
Jakarta(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Jakarta(config-if)#interface s0/0
Jakarta(config-if)#ip address 202.10.11.7 255.255.255.0
Jakarta(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Jakarta(config-if)#exit
Jakarta(config)#ip route 0.0.0.0 0.0.0.0 s0/0
Jakarta(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Jakarta#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Jakarta#

Seting Router Bandung

Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Bandung
Bandung(config)#interface fa0/0
Bandung(config-if)#ip address 182.16.0.1 255.255.255.0
Bandung(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Bandung(config-if)#interface s0/0
Bandung(config-if)#ip address 202.10.10.5 255.255.255.0
Bandung(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Bandung(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Bandung(config-if)#interface s0/1
Bandung(config-if)#ip address 202.10.11.6 255.255.255.0
Bandung(config-if)#clock rate 64000
Bandung(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1, changed state to up
Bandung(config-if)#exit
Bandung(config)#ip route 172.16.0.0 255.255.255.0 202.10.10.4
Bandung(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
Bandung(config)#ip route 192.16.0.0 255.255.255.0 202.10.11.7
Bandung(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Bandung#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Bandung#
 


2 comments: