Static Routing dengan CISCO 2500 Series
Untuk mempermudah pemahaman anda, maka ikutilah langkah-langkah konfigurasi router cisco menggunakan static routing sesuai dengan konfigurasi pada topologi yang diberikan di bawah ini :
Dari informasi gambar diatas yang perlu anda perhatikan adalah masing-masing interface dari masing-masing router. Dan berdasarkan pada kegiatan 1 dan kegiata 2 maka untuk mengkonfigurasi static routing pada kedua router tersebut, dapat dilakukan dengan langkah-langkah berikut :
Console Router Audrill :
Press RETURN to get started!
Router>ena
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Audrill
Audrill(config)#banner motd #
Enter TEXT message. End with the character ‘#’.
Selamat Datang
Audrill Router
#
Audrill(config)#enable password cisco
Audrill(config)#interface ethernet 0
Audrill(config-if)#description connect to switch
Audrill(config-if)#ip address 192.168.1.1 255.255.255.0
Audrill(config-if)#no shutdown
*Mar 1 00:05:31.687: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
*Mar 1 00:05:32.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
Audrill(config-if)#exit
Audrill(config)#interface serial 0
Audrill(config-if)#description connect to Sting Router
Audrill(config-if)#ip address 10.10.10.1 255.255.255.252
Audrill(config-if)#clock rate 1000000
Audrill(config-if)#no shut
*Mar 1 00:07:48.275: %LINK-3-UPDOWN: Interface Serial0, changed state to up
*Mar 1 00:07:49.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
Audrill(config-if)#^Z
Audrill#
*Mar 1 00:09:42.579: %SYS-5-CONFIG_I: Configured from console by console
Audrill#sh ip route
Codes: C – connected, S – static, 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
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 192.168.1.0/24 is directly connected, Ethernet0
C 10.10.10.0/30 is directly connected, Serial0
Confugurasi Static Route Pada AUDRILL Router
Audrill#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Audrill(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2
Audrill(config)#^Z
*Mar 1 07:18:29.710: %SYS-5-CONFIG_I: Configured from console by console
Audrill#sh ip route
Codes: C – connected, S – static, 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
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 192.168.2.2 to network 0.0.0.0
C 192.168.1.0/24 is directly connected, Ethernet0
C 10.10.10.0/30 is directly connected, Serial0
S* 172.16.16.0/24 [1/0] via 10.10.10.2
Console Router Sting :
Press RETURN to get started!
Router>ena
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Sting
Sting(config)#banner motd #
Enter TEXT message. End with the character ‘#’.
Selamat Datang
Sting Router
#
Sting(config)#enable password cisco
Sting(config)#interface ethernet 0
Sting(config-if)#description connect to switch
Sting(config-if)#ip address 172.16.16.1 255.255.255.0
Sting(config-if)#no shutdown
*Mar 1 00:05:31.687: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
*Mar 1 00:05:32.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up
Sting(config-if)#exit
Sting(config)#interface serial 0
Sting(config-if)#description connect to Audrill Router
Sting(config-if)#ip address 10.10.10.2 255.255.255.252
Sting(config-if)#no shut
*Mar 1 00:07:48.275: %LINK-3-UPDOWN: Interface Serial0, changed state to up
*Mar 1 00:07:49.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
Sting(config-if)#^Z
Sting#
*Mar 1 00:09:42.579: %SYS-5-CONFIG_I: Configured from console by console
Sting#sh ip route
Codes: C – connected, S – static, 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
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 172.16.16.0/24 is directly connected, Ethernet0
C 10.10.10.0/30 is directly connected, Serial0
Confugurasi Static Route Pada STING Router
Sting#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Sting(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2
Sting(config)#^Z
*Mar 1 07:18:29.710: %SYS-5-CONFIG_I: Configured from console by console
Sting#sh ip route
Codes: C – connected, S – static, 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
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 192.168.2.2 to network 0.0.0.0
C 172.16.16.0/24 is directly connected, Ethernet0
C 10.10.10.0/30 is directly connected, Serial0
S* 192.168.1.0/24 [1/0] via 10.10.10.1
Setelah itu untuk mengetahui apakah konfigurasi yang anda buat sudah sesuai maka dapat anda lakukan perintah PING untuk kedua router :
Pengujian Koneksi pada Router Audrill
Audrill#ping 172.16.16.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.16.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/36/40 ms
Audrill#
Pengujian Koneksi pada Router Sting
Sting#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/36/40 ms
Sting#
Leave a Reply