Haiii sobb! ketemu lagi nih di postingan edisi #ngoprek lagi. Kali ini kita udah ada di #ngoprek4, kemaren kan kita udah belajar apa itu cisco, apa aja perangkat secara umumnya, apa aja macam-macam sertifikasinya, gimana cara konfigurasi beberapa perangkatnya, routing, VLAn dan masih banyak lagi. Nah sekarang kita akan belajar dengan case secara langsung nih. Kemarin saya beli buku superlab cisco dari IDN atau kepanjangan dari Indonesia Networkers. Nah In Shaa Allah nanti saya akan posting semua lab-labnya beserta konfigurasinya, jadi kita cuma perlu konfigurasi tanpa buat topologi ulang dari awal. Respect to IDN :)
Ini dia file .PKT nya : Disini downloadnya *Sebelumnya packet tracer kamu harus minimal versi 7 yaa :)
Oke kita langsung saja kita mulai lab nya ! Pertama buka filenya dan akan tertampil topologi seperti ini :
Topologi |
Lalu kita mulai konfigurasi pada bagian kiri :
konfigurasi 1 |
Oh iya untuk setiap PC sudah diberikan IP ya, jadi kita tinggal konfigurasi lebih lanjutnya saja. Jadi kita cuma perlu konfigurasi vlan saja pada tahap ini.
⧪ VLAN 10 : 10.10.10.0/24 dengan gateway 10.10.10.1
⧪ VLAN 10 : 10.10.10.0/24 dengan gateway 10.10.10.1
⧪ VLAN 20 : 20.20.20.0/24 dengan gateway 20.20.20.1
======================[ KONFIGURASI VLAN ]=======================
SWITCH2
IDN-Switch2(config)#vlan 10
IDN-Switch2(config-vlan)#name IDN-VLAN10
IDN-Switch2(config)#vlan 20
IDN-Switch2(config-vlan)#name IDN-VLAN20
IDN-Switch2(config)#int fa0/1
IDN-Switch2(config-if)#switchport mode trunk
IDN-Switch2(config)#int fa0/2
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 10
IDN-Switch2(config)#int fa0/3
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 10
IDN-Switch2(config)#int fa0/4
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 20
IDN-Switch2(config)#int fa0/5
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 20
IDN-Switch2(config)#exit
IDN-Switch2(config)#vlan 10
IDN-Switch2(config-vlan)#name IDN-VLAN10
IDN-Switch2(config)#vlan 20
IDN-Switch2(config-vlan)#name IDN-VLAN20
IDN-Switch2(config)#int fa0/1
IDN-Switch2(config-if)#switchport mode trunk
IDN-Switch2(config)#int fa0/2
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 10
IDN-Switch2(config)#int fa0/3
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 10
IDN-Switch2(config)#int fa0/4
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 20
IDN-Switch2(config)#int fa0/5
IDN-Switch2(config)#switchport mode access
IDN-Switch2(config)#switchport access vlan 20
IDN-Switch2(config)#exit
Selanjutnya kita cek apakah vlan sudah terdaftar dalam switch sesuai pada portnya dengan perintah show vlan ( jika pada mode privileged ) atau do show vlan ( jika pada mode konfigurasi global ) lalu tekan enter dan jika berhasil hasilnya akan seperti ini :
Nah selanjutnya tinggal konfigurasi DNS pada masing-masing client, namun konfigurasi sudah ada pada file tersebut jadi teman gak usah lagi konfigurasi pada client. Okeee kita sekarang lanjut ke bagian topologi yang lain, yaitu pada router IDN-Router1 :
Konfigurasi 2 |
Pada bagian ini, kita akan konfigurasi router yang terhubung seperti gambar di atas dengan proses enkapsulasi vlan, routing OSPF dan tentunya konfigurasi IP Address pada tiap-tiap port. Berikut adalah konfigurasinya :
======================[ KONFIGURASI IP ADDRESS & ENKAPSULASI VLAN ]=======================
ROUTER1
IDN-Router1(config-if)# int fa0/0
IDN-Router1(config-if)# no shutdown
IDN-Router1(config-if)# ip address 11.11.11.1 255.255.255.0
IDN-Router1(config-if)# no shutdown
IDN-Router1(config-if)# ip address 12.12.12.1 255.255.255.0
IDN-Router1(config-if)# int fa1/0
IDN-Router1(config-if)# no shutdown
IDN-Router1(config-if)# int fa1/0.10
IDN-Router1(config-if)# encapsulation dot1Q 10
IDN-Router1(config-if)# ip address 10.10.10.1 255.255.255.0
IDN-Router1(config-if)# int fa1/0.20
IDN-Router1(config-if)# encapsulation dot1Q 20
IDN-Router1(config-if)# ip address 20.20.20.1 255.255.255.0
selepas itu bisa dicek apakah konfigurasi IP sudah benar dengan perintah : do show ip interface brief ( jika dalam konfigurasi interface ) atau show ip interface brief ( jika dalam konfiguasi global ). Jika sudah sesuai maka, lanjut ke konfigurasi routing OSPF.
======================[ KONFIGURASI ROUTING OSPF ]=======================
ROUTER1
IDN-Router1(config)# router ospf 10
IDN-Router1(config-router)# network 11.11.11.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 10.10.10.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 20.20.20.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 12.12.12.0 0.0.0.255 area 0
IDN-Router1(config)# router ospf 10
IDN-Router1(config-router)# network 11.11.11.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 10.10.10.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 20.20.20.0 0.0.0.255 area 0
IDN-Router1(config-router)# network 12.12.12.0 0.0.0.255 area 0
Apa itu maksudnya " 0.0.0.255 " dan " area 0 " ? Nanti In Shaa Allah akan kita bahas secara teorinya di postingan yang berbeda hehe. Oke pada tahap ini pastikan semua PC dan server bagian kiri sudah bisa saling ping ke IP gatewaynya masing-masing dan kemudian semua PC pada vlan 10, vlan 20 serta server bisa saling ping satu sama lain walau berbeda vlan karena itu lah yang dinamakan Inter-VLAN Routing yang sudah diposting di postingan sebelumnya.
Konfigurasi 3 |
======================[ KONFIGURASI VLAN ]=======================
SWITCH 3
IDN-Switch3(config)#vlan 30
IDN-Switch3(config-vlan)#name IDN-VLAN30
IDN-Switch3(config)#vlan 40
IDN-Switch3(config-vlan)#name IDN-VLAN40
IDN-Switch3(config)#int fa0/2
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 30
IDN-Switch3(config)#int fa0/3
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 30
IDN-Switch3(config)#int fa0/4
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 40
IDN-Switch3(config)#int fa0/5
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 40
IDN-Switch3(config)#exit
IDN-Switch3(config)#int fa0/1
IDN-Switch3(config-if)#switchport mode trunk
IDN-Switch3(config)#exit
IDN-Switch3(config)#vlan 30
IDN-Switch3(config-vlan)#name IDN-VLAN30
IDN-Switch3(config)#vlan 40
IDN-Switch3(config-vlan)#name IDN-VLAN40
IDN-Switch3(config)#int fa0/2
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 30
IDN-Switch3(config)#int fa0/3
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 30
IDN-Switch3(config)#int fa0/4
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 40
IDN-Switch3(config)#int fa0/5
IDN-Switch3(config)#switchport mode access
IDN-Switch3(config)#switchport access vlan 40
IDN-Switch3(config)#exit
IDN-Switch3(config)#int fa0/1
IDN-Switch3(config-if)#switchport mode trunk
IDN-Switch3(config)#exit
Selanjutnya kita cek apakah vlan sudah terdaftar dalam switch sesuai pada portnya dengan perintah show vlan ( jika pada mode privileged ) atau do show vlan ( jika pada mode konfigurasi global ) lalu tekan enter.
Konfigurasi 4 |
======================[ KONFIGURASI IP ADDRESS & ROUTING ]=======================
ROUTER 2
IDN-Router2(config)# int serial 2/0
IDN-Router2(config-if)# no shutdown
IDN-Router2(config-if)# ip address 12.12.12.2 255.255.255.0
IDN-Router2(config-if)# clock rate 56000 ---> frekuensi dalam transmisi data
IDN-Router2(config)# router ospf 10IDN-Router2(config-if)# clock rate 56000 ---> frekuensi dalam transmisi data
IDN-Router2(config-router)# net 12.12.12.0 0.0.0.255 area 0
IDN-Router2(config-router)# redistribute rip subnets
IDN-Router2(config-router)# exit
IDN-Router2(config)# router rip
IDN-Router2(config-router)# version 2
IDN-Router2(config-router)# net 23.23.23.0
IDN-Router2(config-router)# redistribute ospf 10 metric 1
IDN-Router2(config-router)# exit
ROUTER 3
IDN-Router3(config)# int fa0/0
IDN-Router3(config-if)# no shutdown
IDN-Router3(config-if)# ip address 34.34.34.3 255.255.255.0
IDN-Router3(config)# int fa1/0
IDN-Router3(config-if)# no shutdown
IDN-Router3(config-if)# ip address 31.31.31.1 255.255.255.0
IDN-Router3(config)# int serial 2/0
IDN-Router3(config-if)# no shutdown
IDN-Router3(config-if)# ip address 23.23.23.3 255.255.255.0
IDN-Router3(config-if)# clock rate 56000
IDN-Router2(config)# router rip
IDN-Router2(config-router)# version 2
IDN-Router2(config-router)# net 23.23.23.0
IDN-Router2(config-router)# redistribute ospf 10 metric 1
IDN-Router2(config-router)# exit
IDN-Router2(config)# router eigrp 10
IDN-Router2(config-router)# net 34.34.34.0
IDN-Router2(config-router)# redistribute rip metric 1 1 1 1 1
IDN-Router2(config-router)# exit
IDN-Router2(config-router)# net 34.34.34.0
IDN-Router2(config-router)# redistribute rip metric 1 1 1 1 1
IDN-Router2(config-router)# exit
ROUTER 4
IDN-Router4(config)# int fa0/0
IDN-Router4(config-if)# no shutdown
IDN-Router4(config-if)# ip address 34.34.34.4 255.255.255.0
IDN-Router4(config)# int fa1/0
IDN-Router4(config-if)# no shutdown
IDN-Router4(config-if)# ip address 44.44.44.1 255.255.255.0
IDN-Router4(config)# int fa6/0
IDN-Router4(config-if)# no shutdown
IDN-Router4(config)# int fa6/0.30
IDN-Router4(config-subif)# encapsulation dot1Q 30
IDN-Router4(config-subif)# ip address 30.30.30.1 255.255.255.0
IDN-Router4(config-subif)# exit
IDN-Router4(config)# int fa6/0.40
IDN-Router4(config-subif)# encapsulation dot1Q 40
IDN-Router4(config-subif)# ip address 40.40.40.1 255.255.255.0
IDN-Router4(config-subif)# exit
IDN-Router4(config)# router eigrp 10
IDN-Router4(config-router)# net 34.34.34.0
IDN-Router4(config-router)# net 44.44.44.0
IDN-Router4(config-router)# net 30.30.30.0
IDN-Router4(config-router)# net 40.40.40.0
IDN-Router4(config-router)# exit
IDN-Router4(config-if)# no shutdown
IDN-Router4(config-if)# ip address 34.34.34.4 255.255.255.0
IDN-Router4(config)# int fa1/0
IDN-Router4(config-if)# no shutdown
IDN-Router4(config-if)# ip address 44.44.44.1 255.255.255.0
IDN-Router4(config)# int fa6/0
IDN-Router4(config-if)# no shutdown
IDN-Router4(config)# int fa6/0.30
IDN-Router4(config-subif)# encapsulation dot1Q 30
IDN-Router4(config-subif)# ip address 30.30.30.1 255.255.255.0
IDN-Router4(config-subif)# exit
IDN-Router4(config)# int fa6/0.40
IDN-Router4(config-subif)# encapsulation dot1Q 40
IDN-Router4(config-subif)# ip address 40.40.40.1 255.255.255.0
IDN-Router4(config-subif)# exit
IDN-Router4(config)# router eigrp 10
IDN-Router4(config-router)# net 34.34.34.0
IDN-Router4(config-router)# net 44.44.44.0
IDN-Router4(config-router)# net 30.30.30.0
IDN-Router4(config-router)# net 40.40.40.0
IDN-Router4(config-router)# exit
Konfigurasi 5 |
======================[ KONFIGURASI VLAN & TRUNKING ]=======================
MLS-IDN2 ( Multilayer Switch)
MLS-IDN2(config)# vlan 50
MLS-IDN2(config-vlan)# name IDN-VLAN50
MLS-IDN2(config-vlan)# vlan 60
MLS-IDN2(config-vlan)# name IDN-VLAN60
MLS-IDN2(config)# interface fa0/2
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 60
MLS-IDN2(config-if)# interface fa0/3
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 50
MLS-IDN2(config-if)# interface fa0/4
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 60
MLS-IDN2(config-if)# interface fa0/5
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 50
MLS-IDN2(config-if)# interface fa0/1
MLS-IDN2(config-if)# switchport trunk encapsulation dot1Q ---> untuk trunking pada MLS sebelahnya
MLS-IDN2(config-if)# switchport mode trunk
MLS-IDN2(config-if)# exit
MLS-IDN1 ( Multilayer Switch)
MLS-IDN1(config)# vlan 50
MLS-IDN1(config-vlan)# name IDN-VLAN50
MLS-IDN1(config-vlan)# vlan 60
MLS-IDN1(config-vlan)# name IDN-VLAN60
MLS-IDN2(config-vlan)# name IDN-VLAN50
MLS-IDN2(config-vlan)# vlan 60
MLS-IDN2(config-vlan)# name IDN-VLAN60
MLS-IDN2(config)# interface fa0/2
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 60
MLS-IDN2(config-if)# interface fa0/3
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 50
MLS-IDN2(config-if)# interface fa0/4
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 60
MLS-IDN2(config-if)# interface fa0/5
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config)# switchport access vlan 50
MLS-IDN2(config-if)# interface fa0/1
MLS-IDN2(config-if)# switchport trunk encapsulation dot1Q ---> untuk trunking pada MLS sebelahnya
MLS-IDN2(config-if)# switchport mode trunk
MLS-IDN2(config-if)# exit
MLS-IDN1 ( Multilayer Switch)
MLS-IDN1(config)# vlan 50
MLS-IDN1(config-vlan)# name IDN-VLAN50
MLS-IDN1(config-vlan)# vlan 60
MLS-IDN1(config-vlan)# name IDN-VLAN60
MLS-IDN1(config)# interface vlan 50
MLS-IDN1(config-if)# ip address 50.50.50.1 255.255.255.0
MLS-IDN1(config-if)# interface vlan 60
MLS-IDN1(config-if)# ip address 60.60.60.1 255.255.255.0
MLS-IDN1(config)# interface int fa0/1
MLS-IDN1(config-if)# no switchport ---> untuk non-aktifkan fitur switch
MLS-IDN1(config-if)# ip address 31.31.31.3 255.255.255.0
MLS-IDN2(config)# interface fa0/3
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 60
MLS-IDN2(config)# interface fa0/4
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 50
MLS-IDN2(config)# interface fa0/5
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 60
MLS-IDN2(config)# interface fa0/6
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 50
MLS-IDN2(config)# interface fa0/2
MLS-IDN2(config-if)#switchport trunk encapsulation dot1Q
MLS-IDN2(config-if)# switchport mode trunk
MLS-IDN2(config-if)# exit
MLS-IDN1(config-if)# ip address 50.50.50.1 255.255.255.0
MLS-IDN1(config-if)# interface vlan 60
MLS-IDN1(config-if)# ip address 60.60.60.1 255.255.255.0
MLS-IDN1(config)# interface int fa0/1
MLS-IDN1(config-if)# no switchport ---> untuk non-aktifkan fitur switch
MLS-IDN1(config-if)# ip address 31.31.31.3 255.255.255.0
MLS-IDN2(config)# interface fa0/3
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 60
MLS-IDN2(config)# interface fa0/4
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 50
MLS-IDN2(config)# interface fa0/5
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 60
MLS-IDN2(config)# interface fa0/6
MLS-IDN2(config-if)#switchport mode access
MLS-IDN2(config-if)# switchport access vlan 50
MLS-IDN2(config)# interface fa0/2
MLS-IDN2(config-if)#switchport trunk encapsulation dot1Q
MLS-IDN2(config-if)# switchport mode trunk
MLS-IDN2(config-if)# exit
Apa langkah selanjutnyaaaa ? Yuuuk kita cek hasil konfigurasinya :
1.) Cek Konfigurasi Trunking : do show trunk
2.) Cek Konfigurasi Routing : do show ip route
3.) Cek Konfigurasi IP Address : do show ip interface brief
dan coba akses domain yang tersedia pada IDN-Server [berapa pun] lalu akses melalui web browser pada masing-masing client atau juga bisa ditest dengan cara mengirim PDU ( Packet Data Unit ) yang terdapat icon surat yang tertutup. Jika berhasil ? Well done guys! hehe
Wassalammu'alaikum wa rahmatullah wa barakatuh.
Sampai juma di ngoprek yang ke-5 *bye-bye*
Posting Komentar