Cara Setting Static Routing di Cisco
Router JAKARTA
1 2 3 4 5 6 | Router(config)#hostname JAKARTA JAKARTA(config)#int s0/0/0 JAKARTA(config-if)#ip addr 10.10.10.2 255.255.255.252 JAKARTA(config-if)#no shut JAKARTA(config-if)#exit JAKARTA(config)#ip route 192.168.0.0 255.255.255.252 10.10.10.1 |
Router SEMARANG
1 2 3 4 5 6 7 8 | Router(config)#hostname SEMARANG SEMARANG(config)#int s0/0/0 SEMARANG(config-if)#ip addr 10.10.10.1 255.255.255.252 SEMARANG(config-if)#clock rate 56000 SEMARANG(config-if)#no shut SEMARANG(config)#int fa0/0 SEMARANG(config-if)#ip addr 192.168.0.1 255.255.255.252 SEMARANG(config-if)#no shut |
Router SURABAYA
1 2 3 4 5 6 | Router(config)#hostname SURABAYA SURABAYA(config)#int fa0/0 SURABAYA(config-if)#ip addr 192.168.0.2 255.255.255.252 SURABAYA(config-if)#no shut SURABAYA(config-if)#exit SURABAYA(config)#ip route 10.10.10.0 255.255.255.252 192.168.0.1 |
ip route IP_NEWTORK_TUJUAN SUBNET VIA_IP
ip route 10.10.10.0 255.255.255.252 192.168.0.1Router SEMARANG tidak harus mengeset ip route karena kedua IP NETWORK sudah dikenali.
verifikasi :
1 2 3 4 | sh ip neighbors sh ip route ping traceroute |
Referensi :
Buku Panduan Cisco – ID Networkers