Kali ini kita akan membahas tentang Static-Routing. Static Routing ini cukup sederhana, logikanya kita tinggal membukakan pintu saja untuk network biar bisa saling berhubungan. **duh jelek banget yaa penjelasan teorinya**
oke gw kasih yang beneran deh, Static routing yaitu proses pemilihan path ke jaringan lain dari jaringan kita secara manual. Pada jaringan bersekala kecil sangat effektif menggunakan cara ini, tapi jika pada jaringan bersekala besar akan sangat merepotkan, bukanya tidak bisa, tapi akan sangat merepotkan aja….
settinganya seperti ini
Router-JKT ke Router-SBY
Router-JKT>enable
Router-JKT#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router-JKT(config)#ip route 10.68.0.0 255.255.255.0 20.136.160.2
Router-JKT(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router-JKT#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
10.0.0.0/24 is subnetted, 1 subnets
S 10.68.0.0 [1/0] via 20.136.160.2
C 20.136.160.0/25 is directly connected, Serial0/3/0
172.18.0.0/29 is subnetted, 1 subnets
C 172.18.240.0 is directly connected, Serial0/3/1
Router-JKT#
**Setelah ini kalau kita ingin mencoba tes Ping ke ip 10.68.0.1 pasti sudah bisa, tapi tidak akan bisa ke 10.68.0.2.
Makanya sekarang kita masuk ke Router-SBY.**
Router-SBY>enable
Router-SBY#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router-SBY(config)#ip route 20.136.160.0 255.255.255.128 10.68.0.1
Router-SBY(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router-SBY#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
10.0.0.0/24 is subnetted, 1 subnets
C 10.68.0.0 is directly connected, Serial0/2/0
20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 20.0.0.0/8 is directly connected, Serial0/2/1
S 20.136.160.0/25 [1/0] via 10.68.0.1
Router-SBY#
sekarang coba tes Ping ke Router-JKT
Router-SBY>ping 20.136.160.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.136.160.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/78/110 ms
Router-SBY>
Router-SBY>
**Begitu juga sebaliknya
Router-JKT>ping 10.68.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.68.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 63/66/78 ms
Router-JKT>


