phone: +62852 5254 2414
e-mail: simonmurdani@gmail.com

TLJ - Cisco Packet Tracer part 17

 


Konfigurasi InterVLAN dengan Packet Tracer v5.3

setelah kita memahami bahasan sebelumnya mengenai konsep VLAN dan VTP ada baiknya kita mencoba melakukan konfigurasi interVLAN, dimana dalam inter VLAN ini kita akan mencoba menerapkan VLAN dalam VLAN. Jadi dua kali optimasi kawan 



Konfigurasi InterVLAN

Dalam lab kali ini, kita akan mencoba mensimulasikan penerapan teknik subnetting dalam skala kecil terdiri dari 2 gedung, dimana dibutuhkan 5 departemen, dan 3 bagian manajemen, dengan jumlah host masing-masing maximal 30 host/departemen. Dengan alokasi IP Address private adalah 192.168.10.0/24. Oleh karena itu, desain subnetting yang paling tepat adalah 192.168.10.0/27, berikut adalah penjelasannya:Jumlah Host Max yang Dibutuhkan: 2^y – 2 >= 30 Host, maka y = 5 (bit 0 pada oktet terakhir)

Jumlah Subnet yang Dibutuhkan 5 departemen + 3 Manajemen = 8 Subnet, 2^x >= 8 Subnet, dimana x + y = 8, maka x = 8 – 5 = 3 bit 1 tambahan. Sehingga subnetmasknya menjadi /27 atau 255.255.255.224
Blok Subnet yang Terbentuk: 256 – 224 = 32, maka blok yang terbentuk adalah 0, 32, 64, 96, 128, 160, 192, 224.
Alokasi host valid tiap subnet:




Subnet/VLAN Subnet /27 IP Gateway

Broadcast
VLAN 2 (Dept. Keuangan) 192.168.10.0 192.168.10.1 192.168.10.31
VLAN 3 (Dept. HRD) 192.168.10.32 192.168.10.33 192.168.10.63
VLAN 4 (Dept. Logistik) 192.168.10.64 192.168.10.65 192.168.10.95
VLAN 5 (Dept. Developer) 192.168.10.96 192.168.10.97 192.168.10.127
VLAN 6 (Dept. Produksi) 192.168.10.128 192.168.10.129 192.168.10.159
VLAN 7 (Manajemen 1) 192.168.10.160 192.168.10.161 192.168.10.191
VLAN 8 (Manajemen 2) 192.168.10.192 192.168.10.193 192.168.10.223
VLAN 9 (Manajemen 3) 192.168.10.224 192.168.10.225 192.168.10.255


*Jika masih belum paham perhitungan subnettingnya, boleh ko dipahami lagi di Konsep Subnetting.
Oleh karena itu, dibutuhkan setidaknya sebagai berikut:

3 Switch bertindak sebagai mode Server
8 Switch bertindak sebagai mode client
1 Router bertindak sebagai konsentrator internetwork
Yuk, kita langsung mulai mengkonfigurasikannya 😀

Konfigurasi Switch 0 >> Server 1

Switch>ena

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_Pusat0

Switch_Pusat0(config)#vtp mode server

Device mode already VTP SERVER.

Switch_Pusat0(config)#vtp domain Emulanetwork

Domain name already set to Emulanetwork.

Switch_Pusat0(config)#vtp password Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_Pusat0(config)#vlan 2

Switch_Pusat0(config-vlan)#name Dept_Keuangan

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 3

Switch_Pusat0(config-vlan)#name Dept_HRD

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 4

Switch_Pusat0(config-vlan)#name Dept_Logistik

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 5

Switch_Pusat0(config-vlan)#name Dept_Developer

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 6

Switch_Pusat0(config-vlan)#name Dept_Produksi

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 7

Switch_Pusat0(config-vlan)#name Manajemen1

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 8

Switch_Pusat0(config-vlan)#name Manajemen2

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#vlan 9

Switch_Pusat0(config-vlan)#name Manajemen3

Switch_Pusat0(config-vlan)#ex

Switch_Pusat0(config)#int range f0/1-5

Switch_Pusat0(config-if-range)#switchport mode trunk

Switch_Pusat0(config-if-range)#sw tr native vlan 1

Switch_Pusat0(config-if-range)#end

Switch_Pusat0#

%SYS-5-CONFIG_I: Configured from console by console

Switch_Pusat0#wr mem

Building configuration…

[OK]

Switch_Pusat0#sh vtp status

VTP Version                                          : 2

Configuration Revision                       : 12

Maximum VLANs supported locally   : 255

Number of existing VLANs                   : 13

VTP Operating Mode                           : Server

VTP Domain Name                              : Emulanetwork

VTP Pruning Mode                               : Disabled

VTP V2 Mode                                       : Disabled

VTP Traps Generation                          : Disabled

MD5 digest                                          : 0x2E 0x19 0x0D 0xB6 0xBB 0xF8 0x00 0x59

Configuration last modified by 0.0.0.0 at 3-1-93 00:04:13

Local updater ID is 0.0.0.0 (no valid interface found)

Switch_Pusat0#

 

Konfigurasi Switch 1 >> Server 2

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Enter configuration commands, one per line.  End with CNTL/Z.

Switch_pusat(config)#host Switch_Pusat1

Switch_Pusat1(config)#vtp mo se

Device mode already VTP SERVER.

Switch_Pusat1(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_Pusat1(config)#vtp pass Emulanetwork

Password already set to Emulanetwork

Switch_Pusat1(config)#int ra f0/1-5

Switch_Pusat1(config-if-range)#sw mo tr

Switch_Pusat1(config-if-range)#sw tr na vlan 1

Switch_Pusat1(config-if-range)#end

Switch_Pusat1# wr mem

Building configuration…

[OK]

Konfigurasi Switch 2 >> Server 3

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_Pusat2

Switch_Pusat2(config)#vtp mo se

Device mode already VTP SERVER.

Switch_Pusat2(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_Pusat2(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_Pusat2(config)#int ra f0/1-5

Switch_Pusat2(config-if-range)#sw mo tr

Switch_Pusat2(config-if-range)#sw tr na vlan 1

Switch_Pusat2(config-if-range)#end

Switch_Pusat2#wr mem

Building configuration…

[OK]

 

Konfigurasi Switch 3 >> Client VLAN 2

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_vlan2

Switch_vlan2(config)#vtp mode client

Setting device to VTP CLIENT mode.

Switch_vlan2(config)#vtp domain Emulanetwork

Domain name already set to Emulanetwork.

Switch_vlan2(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_vlan2(config)#int f0/1

Switch_vlan2(config-if)#sw mo tr

Switch_vlan2(config-if)#sw tr na vlan 1

Switch_vlan2(config-if)#ex

Switch_vlan2(config)#int ra f0/2-24

Switch_vlan2(config-if-range)#sw mode access

Switch_vlan2(config-if-range)#sw acc vlan 2

Switch_vlan2(config-if-range)#end

Switch_vlan2#wr mem

Building configuration…

[OK]

 

Konfigurasi Switch 4 >> Client VLAN 3

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_vlan3

Switch_vlan3(config)#vtp mo cl

Setting device to VTP CLIENT mode.

Switch_vlan3(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_vlan3(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_vlan3(config)#int f0/1

Switch_vlan3(config-if)#sw mo tr

Switch_vlan3(config-if)#sw tr na vlan 1

Switch_vlan3(config-if)#ex

Switch_vlan3(config)#int ra f0/2-24

Switch_vlan3(config-if-range)#sw mo acc

Switch_vlan3(config-if-range)#sw acc vlan 3

Switch_vlan3(config-if-range)#end

Switch_vlan3#wr mem

Building configuration…

[OK]

Switch_vlan3#

 

Konfigurasi Switch 5 >> Client VLAN 4

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_vlan4

Switch_vlan4(config)#vtp mo cl

Setting device to VTP CLIENT mode.

Switch_vlan4(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_vlan4(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_vlan4(config)#int f0/1

Switch_vlan4(config-if)#sw mo tr

Switch_vlan4(config-if)#sw tr na vlan 1

Switch_vlan4(config-if)#ex

Switch_vlan4(config)#int ra f0/2-24

Switch_vlan4(config-if-range)#sw mo acc

Switch_vlan4(config-if-range)#sw acc vlan 4

Switch_vlan4(config-if-range)#end

Switch_vlan4#wr mem

Building configuration…

[OK]

 

Konfigurasi Switch 6 >> Client VLAN 5

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_vlan5

Switch_vlan5(config)#vtp mo cl

Setting device to VTP CLIENT mode.

Switch_vlan5(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_vlan5(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_vlan5(config)#int f0/1

Switch_vlan5(config-if)#sw mo tr

Switch_vlan5(config-if)#sw tr na vlan 1

Switch_vlan5(config-if)#ex

Switch_vlan5(config)#int ra f0/2-24

Switch_vlan5(config-if-range)#sw mo acc

Switch_vlan5(config-if-range)#sw acc vlan 5

Switch_vlan5(config-if-range)#end

Switch_vlan5#wr mem

Building configuration…

[OK]

Switch_vlan5#

 

Konfigurasi Switch 7 >> Client VLAN 6

Switch>en

Switch#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#host Switch_vlan6

Switch_vlan6(config)#vtp mo cl

Setting device to VTP CLIENT mode.

Switch_vlan6(config)#vtp do Emulanetwork

Domain name already set to Emulanetwork.

Switch_vlan6(config)#vtp pass Emulanetwork

Setting device VLAN database password to Emulanetwork

Switch_vlan6(config)#int f0/1

Switch_vlan6(config-if)#sw mo tr

Switch_vlan6(config-if)#sw tr na vlan 1

Switch_vlan6(config-if)#ex

Switch_vlan6(config)#int ra f0/2-24

Switch_vlan6(config-if-range)#sw mo acc

Switch_vlan6(config-if-range)#sw acc vlan 6

Switch_vlan6(config-if-range)#end

Switch_vlan6#wr mem

Building configuration…

[OK]

 

Konfigurasi Switch 8 >> Client VLAN 7

Konfigurasi Switch 9 >> Client VLAN 8

Konfigurasi Switch 10 >> Client VLAN 9

{konfigurasi switch 8, 9, dan 10 tidak jauh berbeda dengan konfigurasi switch 3-6}



Konfigurasi Router 0

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#host Router_Pusat

Router_Pusat(config)#int f0/0

Router_Pusat(config-if)#no shut

Router_Pusat(config-if)#ex

Router_Pusat(config)#int f0/0.2

Router_Pusat(config-subif)#enc dot 2

Router_Pusat(config-subif)#ip add 192.168.10.1 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.3

Router_Pusat(config-subif)#

Router_Pusat(config-subif)#enc dot 3

Router_Pusat(config-subif)#ip add 192.168.10.33 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.4

Router_Pusat(config-subif)#enc dot 4

Router_Pusat(config-subif)#ip add 192.168.10.65 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.5

Router_Pusat(config-subif)#enc dot 5

Router_Pusat(config-subif)#ip add 192.168.10.97 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.6

Router_Pusat(config-subif)#enc dot 6

Router_Pusat(config-subif)#ip add 192.168.10.129 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.7

Router_Pusat(config-subif)#enc dot 7

Router_Pusat(config-subif)#ip add 192.168.10.161 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.8

Router_Pusat(config-subif)#enc dot 8

Router_Pusat(config-subif)#ip add 192.168.10.193 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#int f0/0.9

Router_Pusat(config-subif)#enc dot 9

Router_Pusat(config-subif)#ip add 192.168.10.225 255.255.255.224

Router_Pusat(config-subif)#ex

Router_Pusat(config)#end

Router_Pusat#

%SYS-5-CONFIG_I: Configured from console by console

Router_Pusat#wr mem

Building configuration…

[OK]

Router_Pusat#

 

Yup, terakhir kita bisa melakukan pengetasan link, apakah ada masalah atau tidak. Jika ada masalah, saya tidak keberatan untuk berdiskusi.. Selamat mencoba kawan.. 

0 komentar: