Catatan Dan Sharing Information

Sunday, December 18, 2016

Konfigurasi Superlab 1 - Cisco Packet Tracer

RBJ
Title
Konfigurasi Superlab 1 - Cisco Packet Tracer
Issue Date
27 Oktober 2016
Prepare by
Agung Ma’ruf
Teacher
Suyatno, S.Kom 
SMK AL-BAHRI KOTA BEKASI 

A.      Tujuan Lab :
ü  Setiap device dapat terhubung dengan yang lainnya.
ü  Setiap PC/Laptop dapat membukan Domain yang telah di setting DNSnya, dengan DNSnya adalah IDN-Server1
B.      Topologi

A.      Materi Lab :
1.       VLAN
2.       Trunking
3.       Encapsulation
4.       Virtual Interface
5.       Routing OSPF
6.       Routing RIPv2
7.       Routing EIGRP
8.       Redistribution
9.       InterVLAN
10.   DNS
Tabel IP VLAN
VLAN
IP Address
Gateway
10
10.10.10.0/24
10.10.10.1
20
20.20.20.0/24
20.20.20.1
30
30.30.30.0/24
30.30.30.1
40
40.40.40.0/24
40.40.40.1
50
50.50.50.0/24
50.50.50.1
60
60.60.60.0/24
60.60.60.1

Konfigurasi pertama adalah dari switch kiri untuk pembuatan vlan, dan Trunking interface yang mengarah ke Router.

Hasil akhirnya pastikan semua pc atau laptop yang berada dalam vlan yang sama bisa saling ping satu sama lain .
IDN-Switch2(config)#vlan 10
IDN-Switch2(config-vlan)#name IDN-VLAN10
IDN-Switch2(config-vlan)#vlan 20
IDN-Switch2(config-vlan)#name IDN-VLAN20
IDN-Switch2(config-vlan)#exit

IDN-Switch2(config)#interface fastethernet0/1
IDN-Switch2(config-if)#switchport mode trunk

IDN-Switch2(config-if)#interface fastethernet0/2
IDN-Switch2(config-if)#switchport mode access
IDN-Switch2(config-if)#switchport access vlan 10
IDN-Switch2(config-if)#interface fastethernet0/3
IDN-Switch2(config-if)#switchport mode access
IDN-Switch2(config-if)#switchport access vlan 10
IDN-Switch2(config-if)#interface fastethernet0/4
IDN-Switch2(config-if)#switchport mode access
IDN-Switch2(config-if)#switchport access vlan 20
IDN-Switch2(config-if)#interface fastethernet0/5
IDN-Switch2(config-if)#switchport mode access
IDN-Switch2(config-if)#switchport access vlan 20
IDN-Switch2(config-if)#exit

 Verifikasi VLAN

Verifikasi Mode Trunk di interfaces Switch, tampilan berikut muncul hanya kalau di sisi router sudah di konfigurasi trunk, karena pada tahap ini belum di konfig routernya, maka di tahap ini masih kosong.

Konfigurasi IP address berikut pada laptop dan PC
Name
IP address
Gateway
DNS Server
Laptop-IDN1
10.10.10.2/24
10.10.10.1
11.11.11.2
Laptop-IDN2
10.10.10.3/24
10.10.10.1
11.11.11.2
IDN-PC1
20.20.20.2/24
20.20.20.1
11.11.11.2
IDN-PC2
20.20.20.3/24
20.20.20.1
11.11.11.2
Lakukan pengetesan dengan ping pastikan antar vlan yang sama bisa saling ping
  
Selanjutnya konfigurasi pada Server IP berikut ini
Name
IP address
Gateway
Domain
IDN-Server1
11.11.11.2/24
11.11.11.1
Idn.id
IDN-Server2
11.11.11.3/24
11.11.11.1
Id-foundation.org
IDN-Server3
11.11.11.4/24
11.11.11.1
Id-networkers.com
IDN-Server4
11.11.11.5/24
11.11.11.1
Pesantren-networkers.net
Selanjutnya adalah pembuatan DNS di IDN-Server1, dimana jika user yang mengakses web idn.id maka akan diarahkan ke ip 11.11.11.2 dan bila ada user mengakses ke id-netwokers.com maka akan diarahkan ke server 11.11.11.4
Lanjut konfigurasi IDN-Router1 yang akan menghubungkan 4 network yang berbeda dengan konfigurasi Dynamic Routing OSPF di area 0.
Konfigurasi IP Address pada IDN-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)#int serial2/0
IDN-Router1(config-if)#no shutdown
IDN-Router1(config-if)#clock rate 56000
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-subif)#encapsulation dot1Q 10
IDN-Router1(config-subif)#ip address 10.10.10.1 255.255.255.0

IDN-Router1(config-subif)#int fa1/0.20
IDN-Router1(config-subif)#encapsulation dot1Q 20
IDN-Router1(config-subif)#ip address 20.20.20.1 255.255.255.0
IDN-Router1(config-subif)#exit

Verifikasi IP address yang ada pada IDN-Router1

Konfigurasi Dynamic Routing OSPF 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
IDN-Router1(config-router)#exit

Pada tahap ini pastikan semua PC dan server sudah bisa ping ke IP gatewaynya masing masing kemudian semua PC dan server bisa saling ping satu sama lain walau berbeda vlan.
Berikutnya konfigurasi VLAN pada IDN-Switch3
IDN-Switch3(config)#vlan 30
IDN-Switch3(config-vlan)#name IDN-VLAN30
IDN-Switch3(config-vlan)#vlan 40
IDN-Switch3(config-vlan)#naem IDN-VLAN40
IDN-Switch3(config-vlan)#exit

IDN-Switch3(config-if)#int fa0/2
IDN-Switch3(config-if)#Sw mod acc
IDN-Switch3(config-if)#sw acc vlan 30
IDN-Switch3(config-if)#int fa0/3
IDN-Switch3(config-if)#sw mod acc
IDN-Switch3(config-if)#sw acc vlan 30
IDN-Switch3(config-if)#exit

IDN-Switch3(config-if)#int fa0/4
IDN-Switch3(config-if)#sw mod acc
IDN-Switch3(config-if)#sw acc vlan 40
IDN-Switch3(config-if)#int fa0/5
IDN-Switch3(config-if)#sw mod acc
IDN-Switch3(config-if)#sw acc vlan 40
IDN-Switch3(config-if)#exit

IDN-Switch3(config)#int fa0/1
IDN-Switch3(config-if)#sw mod tr
IDN-Switch3(config-if)#exit

Verifikasi VLAN

Pastikan PC vlan 30 berada pada port fa0/2 dan fa0/3
Sedangkan PC vlan 40 berada di port fa0/4 dan fa0/5
Verifikasi Mode Trunk hasilnya masih kosong karena di sisi router R4 belum di konfigurasikan trunknya. Kalau nanti di sisi router R4 trunk nya sudah di konfigurasikan akan muncul tampilan seperti berikut.


Berikutnya konfigurasi ip address untuk PC yang ada di topologi di atas sebagai berikut
Name
IP address
Gateway
DNS Server
IDN-PC3
30.30.30.2/24
30.30.30.1
11.11.11.2
IDN-PC4
30.30.30.3/24
30.30.30.1
11.11.11.2
IDN-PC5
40.40.40.2/24
40.40.40.1
11.11.11.2
IDN-PC6
40.40.40.3/24
40.40.40.1
11.11.11.2
Pastikan yang berada pada vlan yang sama sudah bisa saling ping. Adapun untuk ip gateway nya belum bisa di ping karena router yang menjadi gateway belum di konfigurasi.

Kemudian konfigurasi selanjutnya pada IDN-Router2, IDN-Router3, dan IDN-Router4

Konfigurasi IP Address IDN-Router2
IDN-Router2(config-if)#int serial 2/0
IDN-Router2(config-if)#no shutdown
IDN-Router2(config-if)#clock rate 56000
IDN-Router2(config-if)#ip addreess 12.12.12.2 255.255.255.0

IDN-Router2(config-if)#int serial3/0
IDN-Router2(config-if)#no shutdown
IDN-Router2(config-if)#clock rate 56000
IDN-Router2(config-if)#ip address 23.23.23.2 255.255.255.0

Konfigurasi Routing dengan OSPF area 0 dan RIPv2, Serta redistribute
IDN-Router2(config)#router ospf 10
IDN-Router2(config-router)#redistribute rip subnets
IDN-Router2(config-router)#network 12.12.12.0 0.0.0.255 area 0
IDN-Router2(config-router)#exit


IDN-Router2(config)#router rip
IDN-Router2(config-router)#version 2
IDN-Router2(config-router)#redistribute ospf 10 metric 1
IDN-Router2(config-router)#network 23.23.23.0
IDN-Router2(config-router)#exit

Selanjutnya Konfigurasi pada IDN-Router3
IDN-Router3(config-if)#interface FastEthernet0/0
IDN-Router3(config-if)#ip address 34.34.34.3 255.255.255.0
IDN-Router3(config-if)#no shutdown

IDN-Router3(config-if)#interface FastEthernet1/0
IDN-Router3(config-if)#ip address 31.31.31.1 255.255.255.0
IDN-Router3(config-if)#no shutdown

IDN-Router3(config-if)#interface Serial2/0
IDN-Router3(config-if)#ip address 23.23.23.3 255.255.255.0
IDN-Router3(config-if)#clock rate 56000
IDN-Router3(config-if)#no shutdown

Verifikasi IP Address


Konfigurasi Routing RIPv2 dan EIGRP, Serta redistribution
IDN-Router3(config)#router rip
IDN-Router3(config-router)#version 2
IDN-Router3(config-router)#redistribute eigrp 10 metric 1
IDN-Router3(config-router)#network 23.23.23.0

IDN-Router3(config-router)#router eigrp 10
IDN-Router3(config-router)#redistribute rip metric 1 0 1 1 1
IDN-Router3(config-router)#network 34.34.34.0
IDN-Router3(config-router)#network 31.31.31.0
IDN-Router3(config-router)#network 23.23.23.0

Berikutnya Konfigurasi di IDN-Router4
IDN-Router4(config-if)# interface FastEthernet0/0
IDN-Router4(config-if)# ip address 34.34.34.4 255.255.255.0
IDN-Router4(config-if)# no shutdown

IDN-Router4(config-if)# interface FastEthernet1/0
IDN-Router4(config-if)# ip address 44.44.44.1 255.255.255.0
IDN-Router4(config-if)# no shutdown

IDN-Router4(config-if)# interface FastEthernet6/0
IDN-Router4(config-if)# no shutdown

IDN-Router4(config-if)# interface FastEthernet6/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)# interface FastEthernet6/0.40
IDN-Router4(config-subif)# encapsulation dot1Q 40
IDN-Router4(config-subif)# ip address 40.40.40.1 255.255.255.0

Verifikasi IP Address

Konfigurasi Routing EIGRP
IDN-Router4(config)#router eigrp 10
IDN-Router4(config-router)# router eigrp 10
IDN-Router4(config-router)# network 34.34.34.0
IDN-Router4(config-router)# network 44.44.44.0
IDN-Router4(config-router)# network 30.30.30.0
IDN-Router4(config-router)# network 40.40.40.0
Dalam tah ini cek dan pastikan semua pc vlan 10,20,30 dan 40 bisa melakukan ping ke DNS-server 11.11.11.2 dan ping ke idn.id
Berikutnya konfigurasi server internal yakni server-kantor1, dan server-kantor2
Konfigurasi ip address berikut untuk server di atas
Name
Ip address
Gateway
DNS-Server
Server-Kantor1
44.44.44.2/24
44.44.44.1
11.11.11.2
Server-Kantor2
44.44.44.3/24
44.44.44.1
11.11.11.2

Lanjut ke konfigurasi MLS-IDN1, dan MLS-IDN2

Konfigurasi VLAN MLS-IDN1, dan Mode Trunk pada interface fa0/2
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 FastEthernet0/1
MLS-IDN1(config-if)#no switchport
MLS-IDN1(config-if)#ip address 31.31.31.3 255.255.255.0

MLS-IDN1(config-if)#interface FastEthernet0/3
MLS-IDN1(config-if)#switchport access vlan 60
MLS-IDN1(config-if)#switchport mode access

MLS-IDN1(config-if)#interface FastEthernet0/4
MLS-IDN1(config-if)#switchport access vlan 50
MLS-IDN1(config-if)#switchport mode access

MLS-IDN1(config-if)#interface FastEthernet0/5
MLS-IDN1(config-if)#switchport access vlan 60
MLS-IDN1(config-if)#switchport mode access

MLS-IDN1(config-if)#interface FastEthernet0/6
MLS-IDN1(config-if)#switchport access vlan 50
MLS-IDN1(config-if)#switchport mode access

MLS-IDN1(config-if)#interface FastEthernet0/2
MLS-IDN1(config-if)#switchport access vlan 60
MLS-IDN1(config-if)#switchport trunk encapsulation dot1q
MLS-IDN1(config-if)#switchport mode trunk

MLS-IDN1(config)#interface Vlan50
MLS-IDN1(config-if)#ip address 50.50.50.1 255.255.255.0

MLS-IDN1(config-if)#interface Vlan60
MLS-IDN1(config-if)#ip address 60.60.60.1 255.255.255.0

Konfigurasi Dynamic Routing di MLS-IDN1 dengan EIGRP
MLS-IDN1(config)#router eigrp 10
MLS-IDN1(config-router)#network 31.0.0.0
MLS-IDN1(config-router)#network 50.0.0.0
MLS-IDN1(config-router)#network 60.0.0.0

Konfigurasi Ip Routing
MLS-IDN1(config) ip route 0.0.0.0 0.0.0.0 31.31.31.1

Konfigurasi VLAN pada MLS-IDN2, dan Konfigurasi Mode Trunk pada Interface fa0/1
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 FastEthernet0/2
MLS-IDN2(config-if)#switchport access vlan 60
MLS-IDN2(config-if)#switchport mode access

MLS-IDN2(config-if)#interface FastEthernet0/3
MLS-IDN2(config-if)#switchport access vlan 50
MLS-IDN2(config-if)#switchport mode access

MLS-IDN2(config-if)#interface FastEthernet0/4
MLS-IDN2(config-if)#switchport access vlan 60
MLS-IDN2(config-if)#switchport mode access

MLS-IDN2(config-if)#interface FastEthernet0/5
MLS-IDN2(config-if)#switchport access vlan 50
MLS-IDN2(config-if)#switchport mode access

MLS-IDN2(config-if)#interface FastEthernet0/1
MLS-IDN2(config-if)#switchport trunk encapsulation dot1q
MLS-IDN2(config-if)#switchport mode trunk

MLS-IDN2(config)#interface Vlan50
MLS-IDN2(config-if)#ip address 50.50.50.1 255.255.255.0

MLS-IDN2(config-if)#interface Vlan60
MLS-IDN2(config-if)#ip address 60.60.60.1 255.255.255.0

Verifikasi VLAN dan Mode Trunk
Verifikasi PC/Laptop
Pada Laptop Laptop-IDN2