Static Routing di Cisco Packet Tracer

Topologi


Static Routing di Cisco Packet Tracer


Dari topologi diatas kita bisa buat data dari masing masing router sebagai berikut :


RO_A

Interface : GigabitEthernet0/0
IP Address : 192.168.100.1
Subnet Mask : 255.255.255

Interface:GigabitEthernet0/1
IP Address:192.168.10.1
Subnet Mask:255.255.255

PC_A

IP Address:192.168.10.2
Subnet Mask:255.255.255.0
Gateway:192.168.10.1





RO_B

Interface : GigabitEthernet0/0
IP Address : 192.168.100.2
Subnet Mask : 255.255.255

Interface : GigabitEthernet0/1
IP Address : 192.168.200.1
Subnet Mask : 255.255.255

Interface:GigabitEthernet0/2
IP Address:192.168.20.1
Subnet Mask:255.255.255


PC_B

IP Address:192.168.20.2
Subnet Mask:255.255.255.0
Gateway:192.168.20.1




RO_C

Interface : GigabitEthernet0/0
IP Address : 192.168.200.2
Subnet Mask : 255.255.255

Interface:GigabitEthernet0/1
IP Address:192.168.30.1
Subnet Mask:255.255.255

PC_C

IP Address:192.168.30.2
Subnet Mask:255.255.255.0
Gateway:192.168.30.1


Tabel Routing

ROUTER A / RO_A


SumberIP TujuanGateway/Gerbang Pertama
RO_A 192.168.200.0 255.255.255.0 192.168.100.2
RO_A 192.168.20.0 255.255.255.0 192.168.100.2
RO_A 192.168.30.0 255.255.255.0 192.168.100.2

ROUTER B / RO_B

SumberIP TujuanGateway/Gerbang Pertama
RO_B 192.168.10.0 255.255.255.0 192.168.100.1
RO_B 192.168.30.0 255.255.255.0 192.168.200.2

ROUTER C / RO_C

SumberIP TujuanGateway/Gerbang Pertama
RO_C 192.168.100.0 255.255.255.0 192.168.200.1
RO_C 192.168.20.0 255.255.255.0 192.168.200.1
RO_A 192.168.10.0 255.255.255.0 192.168.200.1


Langkah-langkah konfigurasi di masing-masing Router :


1. Konfigurasi Router A / RO_A




Masuk ke mode konfigurasi :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#

Pemberian nama pada router / hostname :
Router(config)#hostname RO_A

Konfigurasi pada Interface GigabitEthernet 0/0
Interface/port pada cisco defaultnya shutdown/off jadi kita harus menghidupkannya terlebih dahulu, dengan perintah "no shutdown"
RO_A(config)#interface gigabitEthernet 0/0
RO_A(config-if)#no shutdown
RO_A(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/0
RO_A(config-if)#ip address 192.168.100.1 255.255.255.0
RO_A(config-if)#exit

Konfigurasi pada Interface GigabitEthernet 0/1
Seperti sebelumnya kita hidupkan interface/port GigabitEthernet 0/1
RO_A(config)#interface gigabitEthernet 0/1
RO_A(config-if)#no shutdown
RO_A(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/1
RO_A(config-if)#ip address 192.168.10.1 255.255.255.0
RO_A(config-if)#exit



2.  Konfigurasi Router B / RO_B



Masuk ke mode konfigurasi :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#

Pemberian nama pada router / hostname :
Router(config)#hostname RO_B

Konfigurasi pada interface GigabitEthernet 0/0
Sama seperti yang lain kita harus menghidupkan interface/port
RO_B(config)#interface gigabitEthernet 0/0
RO_B(config-if)#no shutdown
RO_B(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/0
RO_B(config-if)#ip address 192.168.100.2 255.255.255.0
RO_B(config-if)#exit


Konfigurasi pada interface GigabitEthernet 0/1
No Shutdown juga interface/port
RO_B(config)#interface gigabitEthernet 0/1
RO_B(config-if)#no shutdown
RO_B(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/1
RO_B(config-if)#ip address 192.168.200.1 255.255.255.0
RO_B(config-if)#exit


Konfigurasi pada interface GigabitEthernet 0/2
Jangan lupa untuk No Shutdown interface/port
RO_B(config)#interface gigabitEthernet 0/2
RO_B(config-if)#no shutdown
RO_B(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/2
RO_B(config-if)#ip address 192.168.20.1 255.255.255.0
RO_B(config-if)#exit




1. Konfigurasi Router C / RO_C



Masuk ke mode konfigurasi :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#

Pemberian nama pada router / hostname :
Router(config)#hostname RO_C

Konfigurasi pada Interface GigabitEthernet 0/0
Interface/port pada cisco defaultnya shutdown/off jadi kita harus menghidupkannya terlebih dahulu, dengan perintah "no shutdown"
RO_C(config)#interface gigabitEthernet 0/0
RO_C(config-if)#no shutdown
RO_C(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/0
RO_C(config-if)#ip address 192.168.200.2 255.255.255.0
RO_C(config-if)#exit

Konfigurasi pada Interface GigabitEthernet 0/1
Seperti sebelumnya kita hidupkan interface/port GigabitEthernet 0/1
RO_C(config)#interface gigabitEthernet 0/1
RO_C(config-if)#no shutdown
RO_C(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up


Konfigurasi IP pada interface GigabitEthernet 0/1
RO_C(config-if)#ip address 192.168.30.1 255.255.255.0
RO_C(config-if)#exit



Seting IP Pada masing-masing PC


PC 1 :
IP Address : 192.168.10.2
Subnet Mask : 255.255.255.0
Gateway : 192.168.10.1

PC 2 :
IP Address : 192.168.20.2
Subnet Mask : 255.255.255.0
Gateway : 192.168.20.1


PC 3 :
IP Address : 192.168.30.2
Subnet Mask : 255.255.255.0
Gateway : 192.168.30.1


Konfigurasi Routing Statik / Static Route pada masing-masing router :


Konfig Static Route pada RO_A / Router A
RO_A(config)#ip route 192.168.200.0 255.255.255.0 192.168.100.2
RO_A(config)#ip route 192.168.20.0 255.255.255.0 192.168.100.2
RO_A(config)#ip route 192.168.30.0 255.255.255.0 192.168.100.2


Konfig Static Route pada RO_B / Router B
RO_B(config)#ip route 192.168.10.0 255.255.255.0 192.168.100.1
RO_B(config)#ip route 192.168.30.0 255.255.255.0 192.168.200.2


Konfig Static Route pada RO_C / Router C
RO_C(config)#ip route 192.168.100.0 255.255.255.0 192.168.200.1
RO_C(config)#ip route 192.168.20.0 255.255.255.0 192.168.200.1
RO_C(config)#ip route 192.168.10.0 255.255.255.0 192.168.200.1



Test hasil dari statik route, yang sebelum di routing antara PC 1, PC 2 dan PC 3 tidak bisa saling ping setelah di routing seharusnya sudah bisa saling berkomunikasi kita test dengan cara ping antar PC.

PC 1, test ping ke PC 2 dan PC 3.


PC 2, test ping ke PC 1 dan PC 3.


PC 3, test ping ke PC 2 dan PC 2.


Terimakasih, Semoga bermanfaat

0 Komentar