Cara Konfigurasi VLAN Di Cisco Packet Tracer:
Hallo selamat siang disini saya akan menjelaskan tentang Cara Konfigurasi VLAN Di Cisco Packet Tracer, Sebelum menuju konfigurasi lebih lanjut perhatikan gambar diatas adalah topologi VLAN Di Cisco Packet Tracer , Yang akan kita gunakan untuk konfigurasi, Diantaranya adalah :
- 1 Router
- 9 PC
- 3 Switch
- 1 Server
- Kabel Straight
PC 0 IP : 192.168.50.130 / Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 1 IP : 192.168.50.131/ Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 4 IP : 192.168.60.66 / Netmask 255.255.255.192 / Gateway 192.168.60.65
PC 5 IP : 192.168.60.67/ Netmask 255.255.255.192 / Gateway 192.168.60.65
Jika sudah Config IP Pada Konfigurasi VLAN Di Cisco Packet Tracer Selanjutnya sekarang kita Konfigurasi Switch 1,
Click Switch0 > CLI
Kemudian masukkan perintah nya seperti di bawah ini,
Menamai Vlan 50 dan 60 Switch 0
Switch>en
Switch#conf
Switch#configure t
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan
Switch(config)#vlan 50
Switch(config-vlan)#name
Switch(config-vlan)#name Lilis_Saputri
Switch(config-vlan)#exit
Switch(config)#vlan 60
Switch(config-vlan)#name Lisa_Dwi_Cahyani
Switch(config-vlan)#exit
MENGHUBUNGKAN VLAN 50 DAN 60 Switch 0
Switch(config)#int
Switch(config)#interface fa0/1
Switch(config-if)#swit
Switch(config-if)#switchport mod
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#swit
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/2
Switch(config-if)#swi
Switch(config-if)#switchport mod
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#swi
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/3
Switch(config-if)#swit
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#swit
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/4
Switch(config-if)#swit
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#swi
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#
MENJADIKAN SWITCH KE MODE TRUNK Switch 0
Switch#conf
Switch#configure t
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface fa0/5
Switch(config-if)#swi
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/6
Switch(config-if)#swi
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#
Selanjutnya sekarang kita Konfigurasi Switch 2,
PC 2 IP : 192.168.50.132 / Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 3 IP : 192.168.50.133/ Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 6 IP : 192.168.60.68 / Netmask 255.255.255.192 / Gateway 192.168.60.65
PC 7 IP : 192.168.60.69/ Netmask 255.255.255.192 / Gateway 192.168.60.65
Click Switch1 > CLI
Kemudian masukkan perintah nya seperti di bawah ini,
PC 2 IP : 192.168.50.132 / Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 3 IP : 192.168.50.133/ Netmask 255.255.255.128 / Gateway 192.168.50.129
PC 6 IP : 192.168.60.68 / Netmask 255.255.255.192 / Gateway 192.168.60.65
PC 7 IP : 192.168.60.69/ Netmask 255.255.255.192 / Gateway 192.168.60.65
Click Switch1 > CLI
Kemudian masukkan perintah nya seperti di bawah ini,
Menamai Vlan 50 dan 60 Switch 1
Switch>en
Switch#conf
Switch#configure t
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan
% Incomplete command.
Switch(config)#vlan 50
Switch(config-vlan)#name Lilis_Saputri
Switch(config-vlan)#ex
Switch(config-vlan)#exit
Switch(config)#vl
Switch(config)#vlan 60
Switch(config-vlan)#nam
Switch(config-vlan)#name Lisa_Dwi_Cahyani
Switch(config-vlan)#exi
Switch(config-vlan)#exit
MENGHUBUNGKAN VLAN 50 DAN 60 Switch 1
Switch(config)#int
Switch(config)#interface fa0/1
Switch(config-if)#swit
Switch(config-if)#switchport mod
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#swit
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/2
Switch(config-if)#swi
Switch(config-if)#switchport mod
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#swi
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vl
Switch(config-if)#switchport access vlan 50
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/3
Switch(config-if)#swit
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode acc
Switch(config-if)#switchport mode access
Switch(config-if)#swit
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#int
Switch(config)#interface fa0/4
Switch(config-if)#swit
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#swi
Switch(config-if)#switchport acc
Switch(config-if)#switchport access vlan 60
Switch(config-if)#exit
Switch(config)#
MENJADIKAN SWITCH KE MODE TRUNK Switch 1
Switch#con
Switch#conf
Switch#configure t
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
Switch(config)#interface fa0/5
Switch(config-if)#swit
% Incomplete command.
Switch(config-if)#swi
Switch(config-if)#switchport mode
Switch(config-if)#switchport mode t
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Kemudian Setting Konfigurasi Router 0,
masukkan perintah nya seperti di bawah ini,
masukkan perintah nya seperti di bawah ini,
Memberi IP ke Gig0/0 dan Gig0/1
Router>en
Router#conf
Router#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int
Router(config)#interface gi
Router(config)#int gi
Router(config)#int gig0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.10.5 255.255.255.252
Router(config-if)#no s
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int gig0/1
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Menghubungkan Vlan yang satu ke Vlan yang lain
Router(config)#int gig0/0.50
Router(config-subif)#enc
Router(config-subif)#encapsulation
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.129 255.255.255.128
Router(config-subif)#exit
Router(config)#int gig0/0
Router(config-if)#exit
Router(config)#int gig0/0.60
Router(config-subif)#enc
Router(config-subif)#encapsulation
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.60.65 255.255.255.192
Router(config-subif)#exit
Router(config)#
Dan yang terakhir kita cuma ngasih IP dan Setting Server nya
PC 8 IP : 192.168.20.6 / Netmask 255.255.255.0 / Gateway 192.168.20.1
Server IP : 192.168.20.5 / Netmask 255.255.255.0 / Gateway 192.168.20.1
Server IP : 192.168.20.5 / Netmask 255.255.255.0 / Gateway 192.168.20.1
Click Server > Service > DNS
kemudian kita edit sedikit index.html nya,
Click Server > Service > HTTP > index.html > edit
Click Server > Service > HTTP > index.html > edit
<html>
<center><font size='+2' color='blue'>lilis saputri</font></center>
<hr>Welcome to Cisco Packet Tracer. Opening doors to new opportunities. Mind Wide Open.
<p>Quick Links:
<br><a href='helloworld.html'>A small page</a>
<br><a href='copyrights.html'>Copyrights</a>
<br><a href='image.html'>Image page</a>
<br><a href='cscoptlogo177x111.jpg'>Image</a>
</html>
Tidak ada komentar:
Posting Komentar