Buka aplikasi Packet Tracer
Lalu buat skema seperti gambar
berikut
Atur IP Address untuk masing – masing
komputer dengan cara mengklik PC yang dimaksud lalu pilih Desktop > IP
Configuration
Nama PC
|
IP Address
|
Subnet Mask
|
Ade
|
192.168.1.1
|
255.255.255.0
|
Dwi
|
192.168.1.2
|
255.255.255.0
|
Dita
|
192.168.1.3
|
255.255.255.0
|
Eka
|
192.168.1.4
|
255.255.255.0
|
Lita
|
192.168.1.5
|
255.255.255.0
|
Sandi
|
192.168.1.6
|
255.255.255.0
|
Ping ke setiap komputer untuk
memastikan bahwa komputer terkoneksi
dengan baik. Saya melakukan ping dari PC Ade. Contoh hasilnya :
Packet
Tracer PC Command Line 1.0
PC>ping
192.168.1.2
Pinging
192.168.1.2 with 32 bytes of data:
Reply from
192.168.1.2: bytes=32 time=120ms TTL=128
Reply from
192.168.1.2: bytes=32 time=40ms TTL=128
Reply from
192.168.1.2: bytes=32 time=40ms TTL=128
Reply from
192.168.1.2: bytes=32 time=40ms TTL=128
Ping
statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0
(0% loss),
Approximate
round trip times in milli-seconds:
Minimum = 40ms, Maximum = 120ms, Average =
60ms
PC>ping
192.168.1.3
Pinging
192.168.1.3 with 32 bytes of data:
Reply from
192.168.1.3: bytes=32 time=60ms TTL=128
Reply from
192.168.1.3: bytes=32 time=40ms TTL=128
Reply from
192.168.1.3: bytes=32 time=40ms TTL=128
Reply from
192.168.1.3: bytes=32 time=40ms TTL=128
Ping
statistics for 192.168.1.3:
Packets: Sent = 4, Received = 4, Lost = 0
(0% loss),
Approximate
round trip times in milli-seconds:
Minimum = 40ms, Maximum = 60ms, Average =
45ms
PC>ping
192.168.1.4
Pinging
192.168.1.4 with 32 bytes of data:
Reply from
192.168.1.4: bytes=32 time=70ms TTL=128
Reply from
192.168.1.4: bytes=32 time=40ms TTL=128
Reply from
192.168.1.4: bytes=32 time=40ms TTL=128
Reply from
192.168.1.4: bytes=32 time=40ms TTL=128
Ping
statistics for 192.168.1.4:
Packets: Sent = 4, Received = 4, Lost = 0
(0% loss),
Approximate
round trip times in milli-seconds:
Minimum = 40ms, Maximum = 70ms, Average =
47ms
PC>ping
192.168.1.5
Pinging
192.168.1.5 with 32 bytes of data:
Reply from
192.168.1.5: bytes=32 time=80ms TTL=128
Reply from
192.168.1.5: bytes=32 time=40ms TTL=128
Reply from
192.168.1.5: bytes=32 time=40ms TTL=128
Reply from
192.168.1.5: bytes=32 time=40ms TTL=128
Ping
statistics for 192.168.1.5:
Packets: Sent = 4, Received = 4, Lost = 0
(0% loss),
Approximate
round trip times in milli-seconds:
Minimum = 40ms, Maximum = 80ms, Average =
50ms
PC>ping
192.168.1.6
Pinging
192.168.1.6 with 32 bytes of data:
Reply from
192.168.1.6: bytes=32 time=70ms TTL=128
Reply from
192.168.1.6: bytes=32 time=40ms TTL=128
Reply from
192.168.1.6: bytes=32 time=40ms TTL=128
Reply from
192.168.1.6: bytes=32 time=40ms TTL=128
Ping
statistics for 192.168.1.6:
Packets: Sent = 4, Received = 4, Lost = 0
(0% loss),
Approximate
round trip times in milli-seconds:
Minimum = 40ms, Maximum = 70ms, Average =
47ms
Selanjutnya, kita
buat VLAN dengan skema berikut:
Nama PC
|
Nama VLAN
|
Port
|
Ade
|
TKJ
|
Fa0/1, Fa0/2, Fa0/3
|
Dwi
|
||
Dita
|
||
Eka
|
TEI
|
Fa0/4, Fa0/5,
Fa0/6
|
Lita
|
||
Sandi
|
Buat VLAN dengan
cara mengklik Switch, pilih tab CLI dan ketikan perintah berikut ini :
Switch>en
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#name TKJ
Switch(config-vlan)#ex
Switch(config)#vlan 3
Switch(config-vlan)#name TEI
Switch(config-vlan)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#show vlan brief
VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5,
Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18,
Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
2 TKJ active
3 TEI active
1002 fddi-default
active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Dari
perintah tersebut, dapat dilihat bahwa VLAN dengan nama TKJ dan TEI telah
dibuat, namun belum memiliki anggota. Untuk menambahkan anggotanya, klik Switch
lalu pilih tab CLI dan ketikan perintah berikut.
Switch#conf term
Enter configuration commands, one
per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#switchport mode
access
Switch(config-if)#switchport access
vlan 2
Switch(config-if)#ex
Switch(config)#int fa0/1
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 2
Switch(config-if)#ex
Switch(config)#int fa0/2
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 2
Switch(config-if)#ex
Switch(config)#int fa0/3
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 2
Switch(config-if)#ex
Switch(config)#int fa0/4
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 3
Switch(config-if)#ex
Switch(config)#int fa0/5
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 3
Switch(config-if)#ex
Switch(config)#int fa0/6
Switch(config-if)#switchp mod ac
Switch(config-if)#switchp ac vlan 3
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from
console by console
Switch#show vlan b
VLAN Name Status Ports
----
-------------------------------- --------- -------------------------------
1
default active Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24
2
TKJ
active Fa0/1, Fa0/2, Fa0/3
3
TEI
active Fa0/4, Fa0/5, Fa0/6
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN telah selesai dibuat. Lalu tes
koneksi antar PC dengan mengklik PC Ade dan ping ke semua komputer. Maka
hasilnya akan seperti berikut.
Packet Tracer PC Command Line 1.0
PC>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes
of data:
Reply from 192.168.1.2: bytes=32
time=125ms TTL=128
Reply from 192.168.1.2: bytes=32
time=63ms TTL=128
Reply from 192.168.1.2: bytes=32
time=62ms TTL=128
Reply from 192.168.1.2: bytes=32
time=62ms TTL=128
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in
milli-seconds:
Minimum = 62ms, Maximum = 125ms, Average = 78ms
PC>ping 192.168.1.3
Pinging 192.168.1.3 with 32 bytes
of data:
Reply from 192.168.1.3: bytes=32
time=111ms TTL=128
Reply from 192.168.1.3: bytes=32
time=47ms TTL=128
Reply from 192.168.1.3: bytes=32 time=30ms
TTL=128
Reply from 192.168.1.3: bytes=32
time=47ms TTL=128
Ping statistics for 192.168.1.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in
milli-seconds:
Minimum = 30ms, Maximum = 111ms, Average = 58ms
PC>ping 192.168.1.4
Pinging 192.168.1.4 with 32 bytes
of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.4:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 192.168.1.5
Pinging 192.168.1.5 with 32 bytes
of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.5:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC>ping 192.168.1.6
Pinging 192.168.1.6 with 32 bytes
of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.6:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
PC Ade tidak mampu terkoneksi dengan
PC Eka, PC Lita dan PC Sandi karena berbeda VLAN.
Sampai disini konfigurasi VLAN part I
telah selesai, namun VLAN belum dapat berfungsi dengan baik karena seluruh PC
belum dapat saling terkoneksi.
Semoga bermanfaat dan selamat mencoba.
Part II
Part II
Tidak ada komentar:
Posting Komentar