Assalamualaikum sahabat whitecyber di seluruh tanah air, seperti biasa kami akan share beberapa project yang sudah kami kerjakan. Kali ini adalah tentang CISCO Router. Kali ini kita akan menggunakan teknologi GNS3.
Apa itu GNS3 ?
GNS3 adalah aplikasi simulator jaringan (Graphic Simulator Network) berbasis GUI yang di rilis pada tahun 2008. Dengan menggunakan GNS3 maka kita dapat mensimulasikan perangkat asli secara baik dengan bantuan emulator ataupun teknologi virtualisasi. Salah satu teknologi emulator yaitu dynamips, yang digunakan untuk mensimulasikan Cisco IOS. Dulu, untuk mensimulasikan (mengemulasikan) router Cisco, kita perlu menginstall dynamips terlebih dahulu, bisa di Windows, Linux, FreeBSD, atau MAC OS. Dengan GNS3, semuanya sudah include, sudah dikemas sedemikian rupa dengan interfacenya, sehingga jauh lebih mudah digunakan seperti sekarang ini.
GNS3 memungkinkan simulasi jaringan yang komplek, karena menggunakan operating system asli dari perangkat jaringan seperti cisco dan juniper. Sehingga kita berada kondisi lebih nyata dalam mengkonfigurasi router langsung daripada di Cisco Packet Tracer. GNS3 adalah alat pelengkap yang sangat baik untuk laboratorium nyata bagi network engineer, administrator dan orang-orang yang ingin belajar untuk sertifikasi seperti Cisco CCNA, CCNP, CCIP dan CCIE serta Juniper JNCIA, JNCIS dan JNCIE.
GNS3 sering dipakai sebagai simulator router Cisco, Juniper, Mikrotik dan Virtual Machine. Jarang terlihat GNS3 dipakai untuk simulator Switch tentunya yang manageble seperti switch Cisco. Namun bukan tidak mungkin kalau GNS3 dapat dipakai untuk mengsimulatorkan switch. Walaupun agak memaksa yaitu dengan menggunakan IOS c3640-is-mz.124-21, namun dengan cara ini kita dapat mengsimulatorkan hampir mirip seperti switch manageble minimal untuk konfigurasi VLAN.
Fitur GNS3
Berbeda dengan packet tracer, gns3 tidak bersifat included:
Tidak ada simulation mode. Karena yang disimulasikan adalah real devices, caranya bisa menggunakan aplikasi sniffer seperti wireshark atau tcpdump.
Tutorialnya tidak ada di aplikasi, semuanya diluar. Berarti harus mencari sendiri, di website gns3 sendiri, di blog, di forum, atau di buku. Dari yang gratis sampai berbayar.
Oh ya, GNS3 juga menyediakan academy, dari penggunaan dasar GNS3 sampai semuanya tentang network yang menggunakan GNS3.
- Dynamips: Emulator Router Cisco
Awal tujuan orang-orang menggunakan GNS3 biasanya untuk mensimulasikan perangkat cisco. GNS3 memanfaatkan emulator dynamips yang berguna untuk mengemulasikan Cisco IOS. Artinya, jika kita sudah punya image (OS-nya), kita sudah bisa menggunakannya di GNS3. Namun untuk simulasi switch di GNS3 menggunakan IOS router sangat terbatas, ada fitur-fitur yang tidak bisa berjalan. - Virtualisasi: Qemu, VMware, dan VirtualBox
Ada kalanya kita ingin mensimulasikan perangkat lain misalnya Windows/Linux server, MikroTik, Juniper, hingga perangkat high end seperti firewall Palo Alto, F5, ASA atau switch data center seperti Nexus atau Arista, dst.Hampir semuanya sudah bisa disimulasikan di GNS3. Kita hanya perlu melakukan initial setting, bahkan beberapa diantaranya sudah memiliki template yang disediakan oleh developer GNS3 sehingga kita hanya memasukkan image nya saja. Semua perangkat diatas nanti bisa dihubungkan dengan perangkat-perangkat lain mesti berada dalam environtment yang berbeda. - Docker Container
Dukungan docker memang masih baru diimplementasikan di GNS3, tepatnya sejak GNS3 versi 1.5. Fitur ini berawal dari Google Summer of Code yang diikuti oleh Goran Cetusic. - IOU: IOS on Unix
Berbeda dengan simulasi Cisco IOS di dynamips, IOU (dikenal juga dengan IOL) atau IOS on unix berjalan sebagai program (running as program) di lingkungan Unix. Keuntungannya, IOU membutuhkan resource yang jauh lebih kecil dibanding jika kita menggunakan dynamips. Malah di IOU kita sudah bisa menggunakan IOS 15 (terbaru), dibanding dynamips yang masih 12.54. Kecuali jika kita menggunakan Cisco 7200 di dynamips, bisa merasakan IOS 15, tapi RAM yang dibutuhkan sampai 512MB. Sangat jauh berbeda dengan IOU yang hanya puluhan MB. - VPCS dan Perangkat Simulasi Build-in
Jika kamu pernah menggunakan Virtual PC Simulator (VPCS), ini adalah sebuah program untuk mensimulasikan komputer mini, fiturnya tidak banyak, umumnya DHCP hingga tools network connectivity seperti PING.VPCS sangat berfungsi sekali untuk mensimulasikan end device. Di GNS3 sudah include dan terintegrasi VPCS, resource yang dibutuhkan sekitar 2MB.
Selain itu, jika kita membutuhkan virtual switch atau hub, juga sudah tersedia di GNS3. Hal ini berguna apabila kita tidak membutuhkan manageable switch di virtual lab. Pada GNS3 2.0 (latest stable version), sudah terdapat appliance cloud yang siap pakai. Fungsinya untuk menghubungkan virtual lab dengan internet. Kalau sebelumnya kita harus melakukan sharing connection dulu dari main network adapter ke virtual network adapter. - Integrasi dengan Wireshark
Wireshark juga sudah terintegrasi dengan GNS3. Artinya jika kita ingin menganalisa network yang kita buat, semua dapat dilakukan dengan mudah, tinggal click, dan capture.
Selanjutnya tinggal menganalisa. Hasilnya benar-benar tidak ada bedanya dengan real environment. Diatas adalah fitur-fitur secara umum, yang biasa digunakan sehari-hari. Untuk penggunaan yang lebih advance seperti penggunaan sebelum ke production, sering menggunakan fitur snapshot untuk membackup lab sewaktu-waktu terjadi kesalahan.
.
Cara Download Image IOS Cisco GNS3
Sebelum kita bisa menggunakan Cisco di GNS3, kita harus punya file Image IOS Cisco nya yang kemudian bisa kita import ke GNS3.Bagi teman-teman yang belum punya file IOS GNS3 Cisco bisa download di link berikut ini : IOS GNS3 Cisco Download
Cara Memasukkan Image Cisco IOS ke GNS3
Image Cisco IOS nya bisa digunakan untuk memasukkan perangkat Cisco Router dan juga Cisco Switch. Untuk proses cara memasukkan Cisco nya ke GNS3 hampir mirip caranya.
Cara Memasukkan Cisco Router ke GNS3
Jika teman-teman sudah download file image Cisco IOS nya, silakan buka aplikasi GNS3 nya.
- Masuk ke menu Edit –> Preferences –> masuk ke bagian Dynamips –> IOS routers –> Klik New
- Pilih Run this IOS router on the GNS3 VM –> Next –> New Image –> Masukkan image IOS nya –> Open –> Next
- Beri nama image nya misal Cisco Router –> Platform c3725 –> Next –> Kita bisa pilih nilai RAM yang mau diberikan ke Cisco nya –> Next –> Kita bisa memasukkan slot Network adapter
- ke Cisco nya –> Next –> Kita bisa memasukkan Wireless Interface Card (WIC) pada Cisco nya –> Next
- Terakhir dan yang paling penting, klik Idle-PC finder –> tunggu sampai proses nya selesai –> Finish
Cara Memasukkan Cisco Switch ke GNS3
Caranya hampir sama seperti cara memasukkan Cisco Router ke GNS3 di atas, bedanya hanya pada langkah ke 4 kita gunakan Platform c3725 dan centang This is an EtherSwitch router. Selebihnya sama saja dengan cara sebelumnya.
Skema CISCO ROUTER
Skema yang akan kita kerjakan adalah dengan cara menginstall Software Router Cisco tersebut kedalam GNS3.
.
.
Pertama kita siapkan 2 buah CISCO ROUTER kemudian kita sambungkan kabelnya dan kita NYALAKAN Perangkatnya dengan menekan tombol RUN.
Kemudian kita masuk ke CONSOLE R1 ( Router 1 ) DAN R2 ( Router 2 )
SETTING CISCO ROUTER 1
Hasilnya :
.
Connected to Dynamips VM “R1” (ID 1, type c3725) – Console port
Press ENTER to get the prompt.
o down
*Mar 1 00:00:04.111: %LINK-3-UPDOWN: Interface FastEthernet1/12, changed state to down
*Mar 1 00:00:04.111: %LINK-3-UPDOWN: Interface FastEthernet1/13, changed state to down
*Mar 1 00:00:04.115: %LINK-3-UPDOWN: Interface FastEthernet1/14, changed state to down
*Mar 1 00:00:04.115: %LINK-3-UPDOWN: Interface FastEthernet1/15, changed state to down
*Mar 1 00:00:04.339: %SYS-5-CONFIG_I: Configured from memory by console
*Mar 1 00:00:04.647: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
*Mar 1 00:00:04.647: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 00:00:04.783: %SYS-5-RESTART: System restarted —
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T13 , RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 07-Apr-10 12:44 by prod_rel_team
*Mar 1 00:00:04.803: %SNMP-5-COLDSTART: SNMP agent on host R1 is undergoing a c old start
*Mar 1 00:00:04.851: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Mar 1 00:00:04.851: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Mar 1 00:00:05.083: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et2/0, changed state to down
*Mar 1 00:00:05.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/1, changed state to down
*Mar 1 00:00:05.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/0, changed state to down
*Mar 1 00:00:06.351: %LINK-5-CHANGED: Interface FastEthernet2/0, changed state to administratively down
*Mar 1 00:00:06.403: %LINK-3-UPDOWN: Interface FastEthernet1/15, changed state to up
*Mar 1 00:00:06.411: %LINK-3-UPDOWN: Interface FastEthernet1/14, changed state to up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/13, changed state to up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/12, changed state to up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/11, changed state to up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/10, changed state to up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/9, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/8, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/7, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/6, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/5, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/4, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/3, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/2, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/1, changed state t o up
*Mar 1 00:00:06.415: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state t o up
*Mar 1 00:00:07.403: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/15, changed state to down
*Mar 1 00:00:07.411: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/14, changed state to down
*Mar 1 00:00:07.415: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/13, changed state to down
*Mar 1 00:00:07.415: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/12, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/11, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/10, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/9, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/8, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/7, changed state to down
*Mar 1 00:00:07.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/6, changed state to down
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
R1#
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#ip add 10.1.1.1 255.255.255.0
R1(config-if)#int loop 0
R1(config-if)#
*Mar 1 00:28:00.631: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#end
R1#
*Mar 1 00:28:34.779: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
FastEthernet1/9 unassigned YES unset up down
FastEthernet1/10 unassigned YES unset up down
FastEthernet1/11 unassigned YES unset up down
FastEthernet1/12 unassigned YES unset up down
FastEthernet1/13 unassigned YES unset up down
FastEthernet1/14 unassigned YES unset up down
FastEthernet1/15 unassigned YES unset up down
FastEthernet2/0 unassigned YES unset administratively down down
Vlan1 unassigned YES unset up down
Loopback0 1.1.1.1 YES manual up up
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#no shut
R1(config-if)#end
R1#
*Mar 1 00:30:17.579: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R1#
*Mar 1 00:30:17.747: %SYS-5-CONFIG_I: Configured from console by console
*Mar 1 00:30:18.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
FastEthernet1/9 unassigned YES unset up down
FastEthernet1/10 unassigned YES unset up down
FastEthernet1/11 unassigned YES unset up down
FastEthernet1/12 unassigned YES unset up down
FastEthernet1/13 unassigned YES unset up down
FastEthernet1/14 unassigned YES unset up down
FastEthernet1/15 unassigned YES unset up down
FastEthernet2/0 unassigned YES unset administratively down down
Vlan1 unassigned YES unset up down
Loopback0 1.1.1.1 YES manual up up
R1#
R1#ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/31/44 ms
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 0.0.0.0 255.255.255.255 area 0
R1(config-router)#end
R1#
*Mar 1 00:43:21.363: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Mar 1 00:44:47.731: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from LOADING to FULL, Loading Done
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/36 ms
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
R1#
SETTING CISCO ROUTER 2
Connected to Dynamips VM “R2” (ID 2, type c3725) – Console port
Press ENTER to get the prompt.
o down
*Mar 1 00:00:04.071: %LINK-3-UPDOWN: Interface FastEthernet1/12, changed state to down
*Mar 1 00:00:04.071: %LINK-3-UPDOWN: Interface FastEthernet1/13, changed state to down
*Mar 1 00:00:04.071: %LINK-3-UPDOWN: Interface FastEthernet1/14, changed state to down
*Mar 1 00:00:04.071: %LINK-3-UPDOWN: Interface FastEthernet1/15, changed state to down
*Mar 1 00:00:04.311: %SYS-5-CONFIG_I: Configured from memory by console
*Mar 1 00:00:04.603: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 00:00:04.603: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
*Mar 1 00:00:04.743: %SYS-5-RESTART: System restarted —
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T13 , RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 07-Apr-10 12:44 by prod_rel_team
*Mar 1 00:00:04.759: %SNMP-5-COLDSTART: SNMP agent on host R2 is undergoing a c old start
*Mar 1 00:00:04.803: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Mar 1 00:00:04.803: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Mar 1 00:00:05.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et2/0, changed state to down
*Mar 1 00:00:05.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/0, changed state to down
*Mar 1 00:00:05.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/1, changed state to down
*Mar 1 00:00:06.311: %LINK-5-CHANGED: Interface FastEthernet2/0, changed state to administratively down
*Mar 1 00:00:06.339: %LINK-3-UPDOWN: Interface FastEthernet1/15, changed state to up
*Mar 1 00:00:06.343: %LINK-3-UPDOWN: Interface FastEthernet1/14, changed state to up
*Mar 1 00:00:06.347: %LINK-3-UPDOWN: Interface FastEthernet1/13, changed state to up
*Mar 1 00:00:06.351: %LINK-3-UPDOWN: Interface FastEthernet1/12, changed state to up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/11, changed state to up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/10, changed state to up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/9, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/8, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/7, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/6, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/5, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/4, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/3, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/2, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/1, changed state t o up
*Mar 1 00:00:06.355: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state t o up
*Mar 1 00:00:07.339: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/15, changed state to down
*Mar 1 00:00:07.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/14, changed state to down
*Mar 1 00:00:07.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/13, changed state to down
*Mar 1 00:00:07.351: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/12, changed state to down
*Mar 1 00:00:07.355: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/11, changed state to down
*Mar 1 00:00:07.355: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/10, changed state to down
*Mar 1 00:00:07.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/9, changed state to down
*Mar 1 00:00:07.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/8, changed state to down
*Mar 1 00:00:07.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/7, changed state to down
*Mar 1 00:00:07.359: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et1/6, changed state to down
R2#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
FastEthernet1/9 unassigned YES unset up down
FastEthernet1/10 unassigned YES unset up down
FastEthernet1/11 unassigned YES unset up down
FastEthernet1/12 unassigned YES unset up down
FastEthernet1/13 unassigned YES unset up down
FastEthernet1/14 unassigned YES unset up down
FastEthernet1/15 unassigned YES unset up down
FastEthernet2/0 unassigned YES unset administratively down down
Vlan1 unassigned YES unset up down
R2#
R2#
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int fa0/0
R2(config-if)#ip add 10.1.1.2 255.255.255.0
R2(config-if)#int loop 0
R2(config-if)#end
R2#
*Mar 1 00:34:20.931: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.2 YES manual administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
FastEthernet1/9 unassigned YES unset up down
FastEthernet1/10 unassigned YES unset up down
FastEthernet1/11 unassigned YES unset up down
FastEthernet1/12 unassigned YES unset up down
FastEthernet1/13 unassigned YES unset up down
FastEthernet1/14 unassigned YES unset up down
FastEthernet1/15 unassigned YES unset up down
FastEthernet2/0 unassigned YES unset administratively down down
Vlan1 unassigned YES unset up down
Loopback0 2.2.2.2 YES manual up up
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int fa0/0
R2(config-if)#no shut
R2(config-if)#
*Mar 1 00:35:10.207: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:35:11.207: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#end
R2#
*Mar 1 00:35:22.123: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.2 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset up down
FastEthernet1/1 unassigned YES unset up down
FastEthernet1/2 unassigned YES unset up down
FastEthernet1/3 unassigned YES unset up down
FastEthernet1/4 unassigned YES unset up down
FastEthernet1/5 unassigned YES unset up down
FastEthernet1/6 unassigned YES unset up down
FastEthernet1/7 unassigned YES unset up down
FastEthernet1/8 unassigned YES unset up down
FastEthernet1/9 unassigned YES unset up down
FastEthernet1/10 unassigned YES unset up down
FastEthernet1/11 unassigned YES unset up down
FastEthernet1/12 unassigned YES unset up down
FastEthernet1/13 unassigned YES unset up down
FastEthernet1/14 unassigned YES unset up down
FastEthernet1/15 unassigned YES unset up down
FastEthernet2/0 unassigned YES unset administratively down down
Vlan1 unassigned YES unset up down
Loopback0 2.2.2.2 YES manual up up
R2#
R2#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 24/31/40 ms
R2#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/40 ms
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 0.0.0.0 255.255.255.255 area 0
R2(config-router)#
*Mar 1 00:44:47.979: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on FastEthernet0/0 from LOADING to FULL, Loading Done
R2(config-router)#end
R2#
*Mar 1 00:44:55.275: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DR 00:00:33 10.1.1.1 FastEthernet0/0
R2#ip route
^
% Invalid input detected at ‘^’ marker.
R2#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, su – IS-IS summary, 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
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 10.1.1.1, 00:00:49, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
R2#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/28/36 ms
R2#wr
Building configuration…
[OK]
R2#
.
.
SETTING PC
Untuk mensetting IP di Personal Computer menggunakan perintah sebagai berikut :
ip [alamat][subnet] [router]
contoh
ip 10.1.1.10/24 10.1.1.1
dengan detailnya adalah sebagai berikut :
PC1> show ip
NAME : PC1[1]
IP/MASK : 0.0.0.0/0
GATEWAY : 0.0.0.0
DNS :
MAC : 00:50:79:66:68:00
LPORT : 10042
RHOST:PORT : 127.0.0.1:10043
MTU: : 1500
PC1> ip 10.1.1.10/24 10.1.1.1
Checking for duplicate address…
PC1 : 10.1.1.10 255.255.255.0 gateway 10.1.1.1
PC1> show ip
NAME : PC1[1]
IP/MASK : 10.1.1.10/24
GATEWAY : 10.1.1.1
DNS :
MAC : 00:50:79:66:68:00
LPORT : 10042
RHOST:PORT : 127.0.0.1:10043
MTU: : 1500
PC1> ping 10.1.1.1
84 bytes from 10.1.1.1 icmp_seq=1 ttl=255 time=15.521 ms
84 bytes from 10.1.1.1 icmp_seq=2 ttl=255 time=15.819 ms
84 bytes from 10.1.1.1 icmp_seq=3 ttl=255 time=16.721 ms
84 bytes from 10.1.1.1 icmp_seq=4 ttl=255 time=15.488 ms
84 bytes from 10.1.1.1 icmp_seq=5 ttl=255 time=14.436 ms
PC1>
.
.
Alkhamdulillah selesai sudah kita setting jaringan di Gedung yang berkapasitas 4 lantai.
Selesai, semoga bermanfaat …