Berikut adalah contoh konfigurasi routing static menggunakan dua router di Cisco Packet Tracer. Dalam contoh ini, kita akan mengasumsikan dua jaringan yang terhubung oleh dua router, dan kita akan mengonfigurasi routing statis antara keduanya.
Konfigurasi Router
Router-1
Konfigurasi IP Address:
Router-1#conf t
Router-1(config)#int gig0/0
Router-1(config-if)#ip add 1.0.0.254 255.0.0.0
Router-1(config-if)#no sh
Router-1(config)#ex
Router-1(config)#int gig0/1
Router-1(config-if)#ip add 172.16.0.10 255.255.0.0
Router-1(config-if)#no sh
Router-1(config)#int gig0/0
Router-1(config-if)#ip add 1.0.0.254 255.0.0.0
Router-1(config-if)#no sh
Router-1(config)#ex
Router-1(config)#int gig0/1
Router-1(config-if)#ip add 172.16.0.10 255.255.0.0
Router-1(config-if)#no sh
Router-2
Konfigurasi IP Address:
Router-2#conf t
Router-2(config)#int gig0/0
Router-2(config-if)#ip add 172.16.0.20 255.255.0.0
Router-2(config-if)#no sh
Router-2(config)#ex
Router-2(config)#int gig0/1
Router-2(config-if)#ip add 192.168.0.254 255.255.255.0
Router-2(config-if)#no sh
Router-2(config)#int gig0/0
Router-2(config-if)#ip add 172.16.0.20 255.255.0.0
Router-2(config-if)#no sh
Router-2(config)#ex
Router-2(config)#int gig0/1
Router-2(config-if)#ip add 192.168.0.254 255.255.255.0
Router-2(config-if)#no sh
Cek Tabel Routing:
Router#sh ip ro
Routing Static Router-1:
Router-1#conf t
Router-1(config)#ip route 192.168.0.0 255.255.255.0 172.16.0.200
Router-1(config)#ip route 192.168.0.0 255.255.255.0 172.16.0.200
Routing Static Rotuer-2:
Router-2#conf t
Router-2(config)#ip route 1.0.0.0 255.0.0.0 172.16.0.100
Router-2(config)#ip route 1.0.0.0 255.0.0.0 172.16.0.100
Konfigurasi PC
PC-1
IP Address : 1.0.0.1
Netmask : 255.0.0.0
Gateway : 1.0.0.254
Netmask : 255.0.0.0
Gateway : 1.0.0.254
PC-2
IP Address : 1.0.0.2
Netmask : 255.0.0.0
Gateway : 1.0.0.254
Netmask : 255.0.0.0
Gateway : 1.0.0.254
PC-3
IP Address : 192.168.0.1
Netmask : 255.255.255.0
Gateway : 192.168.0.254
Netmask : 255.255.255.0
Gateway : 192.168.0.254
PC-4
IP Address : 192.168.0.2
Netmask : 255.255.255.0
Gateway : 192.168.0.254
Netmask : 255.255.255.0
Gateway : 192.168.0.254
File : Download