untuk membuat vlan mode trunk
TRANSCRIPT
UNTUK MEMBUAT VLAN MODE TRUNK
A. Tahap 1.
1. Bukalah Cisco Packet Tracer yang terdapat pada desktop PC. Pastikan PC telah mengisntall aplikasi ini.
Tampilan ikon CPT pada desktop
Tampilan worksheet CPT
2. Tambahkan router. Pilih Router PT.
Tampilan Router PT
3. Tambahkan switch. Pilih switch tipe 2950-24
Tampilan switch tipe 2950-24.
4. Tambahkan PC.
Tampilan PC
Tampilan Router, Switch dan PC yang telah ditambahkan di worksheet.
5. Tambahkan kabel untuk menghubungkan antar device. Pilih kabel cross untuk menyambungkan antar switch, dan lainnya menggunakan kabel straight.
Tampilan pemilihan port switch agar terhubung dengan PC.
Tampilan pemilihan port router agar terhubung dengan switch.
Tampilan topologi.
6. Tentukan IP yang akan digunakan. Sebagai contoh memakai IP kelas A untuk vlan 7, kelas C untuk vlan 8, dan kelas A untuk vlan 9 dan slash(/) default disetiap vlan untuk subnet mask-nya.
VLAN 7 Meilia : 11.11.11.2 sampai 11.11.11.9 VLAN 8 Arifani : 200.200.200.2 sampai 200.200.200.9 Vlan 9 name Utami : 123.123.123.2 sampai 123.123.123.9
7. Tambahkan note untuk memudahkan melihat IP. Note terdapat pada toolbar sebelah kanan worksheet.
Tampilan topologi yang telah diberi note.
B. Tahap 2
1. Proses pengaturan router. Masuk ke CLI, lalu ketikkan perintahnya.
ROUTER--- System Configuration Dialog ---Continue with configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f1/0.7Router(config-subif)#encapsulation dot1q 7Router(config-subif)#ip address 11.11.11.1 255.0.0.0Router(config-subif)#no shRouter(config-subif)#exRouter(config)#int f1/0.8Router(config-subif)#encapsulation dot1q 8Router(config-subif)#ip add 200.200.200.1 255.255.255.0Router(config-subif)#no shRouter(config-subif)#exRouter(config)#int f1/0.9Router(config-subif)#encapsulation dot1q 9Router(config-subif)#ip add 123.123.123.1 255.0.0.0Router(config-subif)#no shRouter(config-subif)#exRouter(config)#int f1/0Router(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet1/0.7, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.7, changed state to up
%LINK-5-CHANGED: Interface FastEthernet1/0.8, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.8, changed state to up
%LINK-5-CHANGED: Interface FastEthernet1/0.9, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.9, changed state to upRouter(config-if)#exRouter(config)#ex
%SYS-5-CONFIG_I: Configured from console by consoleRouter#wrBuilding configuration...[OK]
Tampilan pengetikkan perintah di router.
Tampilan pengetikkan perintah di router.
2. Proses pengaturan switch. Masuk ke CLI, lalu ketikkan perintahnya.
Switch 1
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 7 name meilia
VLAN 7 added:
Name: meilia
Switch(vlan)#vlan 8 name arifani
VLAN 8 added:
Name: arifani
Switch(vlan)#vlan 9 name utami
VLAN 9 added:
Name: utami
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int f0/1
Switch(config-if)#switchport access vlan 7
Switch(config-if)#exit
Switch(config)#interface fa0/2
Switch(config-if)#switchport access vlan 7
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport access vlan 8
Switch(config-if)#ex
Switch(config)#int f0/4
Switch(config-if)#switchport access vlan 8
Switch(config-if)#int f0/5
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/6
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/7
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to up
Switch(config-if)#ex
Switch(config)#int f0/8
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to up
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#wr
Building configuration...
[OK]
Tampilan pengetikkan perintah di switch.
Tampilan pengetikkan perintah di switch.
Switch 2
Switch>en
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 7 name meilia
VLAN 7 added:
Name: meilia
Switch(vlan)#vlan 8 name arifani
VLAN 8 added:
Name: arifani
Switch(vlan)#vlan 9 name utami
VLAN 9 added:
Name: utami
Switch(vlan)#ex
APPLY completed.
Exiting....
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int f0/1
Switch(config-if)#switchport access vlan 7
Switch(config-if)#ex
Switch(config)#int f0/2
Switch(config-if)#switchport access vlan 7
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport access vlan 8
Switch(config-if)#ex
Switch(config)#int f0/4
Switch(config-if)#switchport access vlan 8
Switch(config-if)#ex
Switch(config)#int f0/5
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/6
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/7
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to up
Switch(config-if)#ex
Switch(config)#int f0/8
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#wr
Building configuration...
[OK]
Switch 4
Switch>en
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 7 name meilia
VLAN 7 added:
Name: meilia
Switch(vlan)#vlan 8 name arifani
VLAN 8 added:
Name: arifani
Switch(vlan)#vlan 9 name utami
VLAN 9 added:
Name: utami
Switch(vlan)#ex
APPLY completed.
Exiting....
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int f0/1
Switch(config-if)#switchport access vlan 7
Switch(config-if)#ex
Switch(config)#int f0/2
Switch(config-if)#switchport access vlan 7
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport access vlan 8
Switch(config-if)#ex
Switch(config)#int f0/4
Switch(config-if)#switchport access vlan 8
Switch(config-if)#ex
Switch(config)#int f0/5
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/6
Switch(config-if)#switchport access vlan 9
Switch(config-if)#ex
Switch(config)#int f0/8
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#wr
Building configuration...
[OK]
Tampilan router dan switch yang telah diatur.
3. Setelah selesai melakukan pengaturan rouetr dan switch, atur IP pada PC dengan cara klik PC yang diinginkan untuk diatur Desktop Ip Configuration.
Tampilan pengaturan IP pada PC di VLAN 7.
Tampilan pengaturan IP pada PC di VLAN 8.
Tampilan pengaturan IP pada PC di VLAN 9.
Juga dengan ketentuan sebagai berikut :
VLAN Ip Address Subnet Mask Gateway7 11.11.11.2 255.0.0.0 11.11.11.17 11.11.11.3 255.0.0.0 11.11.11.17 11.11.11.4 255.0.0.0 11.11.11.17 11.11.11.5 255.0.0.0 11.11.11.17 11.11.11.6 255.0.0.0 11.11.11.17 11.11.11.7 255.0.0.0 11.11.11.17 11.11.11.8 255.0.0.0 11.11.11.17 11.11.11.9 255.0.0.0 11.11.11.18 200.200.200.2 255.255.255.0 200.200.200.18 200.200.200.3 255.255.255.0 200.200.200.18 200.200.200.4 255.255.255.0 200.200.200.18 200.200.200.5 255.255.255.0 200.200.200.18 200.200.200.6 255.255.255.0 200.200.200.18 200.200.200.7 255.255.255.0 200.200.200.18 200.200.200.8 255.255.255.0 200.200.200.18 200.200.200.9 255.255.255.0 200.200.200.19 123.123.123.2 255.0.0.0 123.123.123.19 123.123.123.3 255.0.0.0 123.123.123.19 123.123.123.4 255.0.0.0 123.123.123.19 123.123.123.5 255.0.0.0 123.123.123.19 123.123.123.6 255.0.0.0 123.123.123.19 123.123.123.7 255.0.0.0 123.123.123.19 123.123.123.8 255.0.0.0 123.123.123.19 123.123.123.9 255.0.0.0 123.123.123.1
4. Untuk mengetahui apakah jaringan yang telah dibuat tersambung dengan baik, dapat menggunakan perintah “ping” ke IP yang dituju melalui Command Prompt yang ada didalam PC.
Tampilan perintah ping.
Apabila hasil ping telah menunjukkan kalimat “Reply from…….TTL=…” artinya jaringan yang dibuat telah tersambung dengan baik.
5. Atau melalui PDU yang ikonnya terdapat pada toolbar sebelah kanan worksheet.
Apabila hasil PDU telah menunjukkan “Successful” artinya jaringan yang dibuat telah tersambung dengan baik.
Kesimpulan Pembelajaran
Setelah melakukan pembelajaran ini, diharapkan siswa dapat mengerti dan paham mengenai virtual LAN. Juga dapat dengan mudah mempraktikkannya nanti.