Konfigurasi VLAN Di Cisco Packet Tracer
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 :
Langkah pertama kita buat IP dari masing-masing komputer/pc :
- 1 Router
- 9 PC
- 3 Switch
- 1 Server
- Kabel straight
Langkah pertama kita buat IP dari masing-masing komputer/pc :
- PC0= 192.168.50.130 Netmask 255.255.255.128 Gateway 192.168.50.129
- PC1=192.168.50.131 Netmask 255.255.255.128 Gateway 192.168.50.129
- PC2=192.168.50.132 Netmask 255.255.255.128 Gateway 192.168.50.129
- PC3=192.168.50.133 Netmask 255.255.255.128 Gateway 192.168.50.129
- PC4=192.168.60.66 Netmask 255.255.255.192 Gateway 192.168.60.65
- PC5=192.168.60.67 Netmask 255.255.255.192 Gateway 192.168.60.65
- PC6=192.168.60.68 Netmask 255.255.255.192 Gateway 192.168.60.65
- PC7=192.168.60.69 Netmask 255.255.255.192 Gateway 192.168.60.65
- Switch>enSwitch#confSwitch#configure tSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlanSwitch(config)#vlan 50Switch(config-vlan)#nameSwitch(config-vlan)#name lutfaSwitch(config-vlan)#exitSwitch(config)#vlan 60Switch(config-vlan)#name risma lalu exit
- menghubungkan VLAN 50 dan 60 Switch 0Switch(config)#intSwitch(config)#Int range fa0/1-2Switch(config-if)#switSwitch(config-if)#switchport modSwitch(config-if)#switchport mode acSwitch(config-if)#switchport mode accessSwitch(config-if)#switSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlan 50Switch(config-if)#exitSwitch(config)#intSwitch(config)#int range fa0/3-4Switch(config-if)#swiSwitch(config-if)#switchport modSwitch(config-if)#switchport mode accSwitch(config-if)#switchport mode accessSwitch(config-if)#swiSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlSwitch(config-if)#switchport access vlan 50MENJADIKAN SWITCH KE MODE TRUNK Switch 0Switch#confSwitch#configure tSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#intSwitch(config)#interface fa0/5Switch(config-if)#swiSwitch(config-if)#switchport moSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunkSwitch(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 upSwitch(config-if)#exitSwitch(config)#intSwitch(config)#interface fa0/6Switch(config-if)#swiSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunkSwitch(config-if)#Switch(config-if)#exitSwitch(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, - Menamai Vlan 50 dan 60 Switch 1Switch>enSwitch#confSwitch#configure tSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan% Incomplete command.Switch(config)#vlan 50Switch(config-vlan)#name sariSwitch(config-vlan)#exSwitch(config-vlan)#exitSwitch(config)#vlSwitch(config)#vlan 60Switch(config-vlan)#namSwitch(config-vlan)#namerismaSwitch(config-vlan)#exi
- MENGHUBUNGKAN VLAN 50 DAN 60 Switch 1Switch(config)#intSwitch(config)#interface fa0/1Switch(config-if)#switSwitch(config-if)#switchport modSwitch(config-if)#switchport mode acSwitch(config-if)#switchport mode accessSwitch(config-if)#switSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlan 50Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface fa0/2Switch(config-if)#swiSwitch(config-if)#switchport modSwitch(config-if)#switchport mode accSwitch(config-if)#switchport mode accessSwitch(config-if)#swiSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlSwitch(config-if)#switchport access vlan 50Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface fa0/3Switch(config-if)#switSwitch(config-if)#switchport modeSwitch(config-if)#switchport mode accSwitch(config-if)#switchport mode accessSwitch(config-if)#switSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlan 60Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface fa0/4Switch(config-if)#switSwitch(config-if)#switchport modeSwitch(config-if)#switchport mode acSwitch(config-if)#switchport mode accessSwitch(config-if)#swiSwitch(config-if)#switchport accSwitch(config-if)#switchport access vlan 60Switch(config-if)#exitMENJADIKAN SWITCH KE MODE TRUNK Switch 0Switch#conSwitch#confSwitch#configure tSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#intSwitch(config)#interface fa0/5Switch(config-if)#swit% Incomplete command.Switch(config-if)#swiSwitch(config-if)#switchport modeSwitch(config-if)#switchport mode tSwitch(config-if)#switchport mode trunkSwitch(config-if)#exit
-
- Memberi IP ke Gig0/0 dan Gig0/1 di routerRouter>enRouter#confRouter#configure tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#intRouter(config)#interface giRouter(config)#int giRouter(config)#int gig0/0Router(config-if)#ip addRouter(config-if)#ip address 192.168.10.5 255.255.255.252Router(config-if)#no sRouter(config-if)#no shuRouter(config-if)#no shutdownRouter(config-if)#exitRouter(config)#int gig0/1Router(config-if)#ip add 192.168.20.1 255.255.255.0Router(config-if)#no shut
7.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
lalu atur komputer dengan dns server 192.168.20.9 semua
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'>sari</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>
Save, trus setiap PC DNS nya di isi 192.168.20.9
kita coba dengan script sari.com
Komentar
Posting Komentar