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 topologVLAN Di Cisco Packet Tracer , Yang akan kita gunakan untuk konfigurasi, Diantaranya adalah :
  • 1 Router
  • 9 PC
  • 3 Switch
  • 1 Server
  • Kabel straight



Langkah pertama kita buat IP dari masing-masing komputer/pc :

  1. PC0= 192.168.50.130 Netmask 255.255.255.128 Gateway 192.168.50.129
  2. PC1=192.168.50.131 Netmask 255.255.255.128 Gateway 192.168.50.129
  3. PC2=192.168.50.132 Netmask 255.255.255.128 Gateway 192.168.50.129
  4. PC3=192.168.50.133 Netmask 255.255.255.128 Gateway 192.168.50.129
  5. PC4=192.168.60.66 Netmask 255.255.255.192  Gateway 192.168.60.65
  6. PC5=192.168.60.67 Netmask 255.255.255.192 Gateway 192.168.60.65
  7. PC6=192.168.60.68 Netmask 255.255.255.192 Gateway 192.168.60.65
  8. PC7=192.168.60.69 Netmask 255.255.255.192 Gateway 192.168.60.65      
Lalu klik switch 0 untuk menamai VLAN 50 dan VLAN 60 dengan perintah :
  1. 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 lutfa
    Switch(config-vlan)#exit
    Switch(config)#vlan 60
    Switch(config-vlan)#name risma lalu exit
             
  2. menghubungkan VLAN 50 dan 60 Switch 0

    Switch(config)#int
    Switch(config)#Int range fa0/1-2
    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)#int range fa0/3-4
    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   


    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,
  3. 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 sari
    Switch(config-vlan)#ex
    Switch(config-vlan)#exit 
    Switch(config)#vl
    Switch(config)#vlan 60
    Switch(config-vlan)#nam
    Switch(config-vlan)#namerisma
    Switch(config-vlan)#exi
    Switch(config-vlan)#exit   
  4. 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 0

    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


  5. Memberi IP ke Gig0/0 dan Gig0/1 di router

    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  



   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

<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

Postingan populer dari blog ini

Memahami Karakteristik Perangkat Jaringan Nirkabel

pengertian Session Initiation Protocol (SIP) dan Instalasi server softwitch berbasis SIP

Pengertian Pbx (Private Branch Exchange) Serta Proses kerja Server Softwitch