logo blog

KONFIGURASI VLAN DI CISCO



Langkah-langkah:
1.      Buat skema jaringan seperti gambar diatas
2.      Konfigurasikan:
-                      PC0  :  192.168.5.10  gateway  :  192.168.5.1
-                      PC1  :  192.168.5.11  gateway  :  192.168.5.1
-                      PC2  :  192.168.6.10  gateway  :  192.168.6.1
-                      PC3  :  192.168.6.11  gateway  :  192.168.6.1

3.      Buka CLI pada switch dan konfigurasikan sbb:
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 10 name a
VLAN 10 modified:
    Name: a
Switch(vlan)#vlan 20 name b
VLAN 20 modified:
    Name: b
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#conf t
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 10
Switch(config-if)#int fa1/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#int fa2/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#int fa 3/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console
Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int fa4/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#end






1.      Kemudian konfigurasikan routernya:
Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int fa0/0.1

%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up
Router(config-subif)#int fa0/0.1
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#int fa0/0.2

%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip address 192.168.5.1 255.255.255.0
Router(config-subif)#int fa0/0.3

%LINK-5-CHANGED: Interface FastEthernet0/0.3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.3, changed state to up
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip address 192.168.6.1 255.255.255.0
Router(config-subif)#end

%SYS-5-CONFIG_I: Configured from console by console



Kesimpulan:
Untuk membuat VLAN harus melihat jumlah gateway yang berbeda, karena jumlah VLAN yang dibuat harus sama dengan jumlah gateway yang berbeda pada tiap pc didalam sebuah jaringan. Karena pada percobaan diatas gateway yang berbeda ada 2, yaitu 192.168.5.1 dan 192.168.6.1, maka jumlah VLAN yang dibuat juga harus 2. Pada simulasi diatas kedua VLAN tersebut diberi nama “VLAN 10 name a dan VLAN 20 name b”.
















Tag: simulasi vlan di cisco simulasi vlan di cisco belajar simulasi vlan  belajar vlan di cisco belajar vlan di cisco belajar cisco membuat vlan di cisco membuat simulasi vlan di cisco membuat simulasi jaringan vlan di cisco vlan tagging vlan player vlan trunking vlan tutorial vlan hopping vlan definition vlan vs subnet vlan routing vlan configuration

Artikel Terbaru :
Next
« Prev Post
Previous
Next Post »

1 komentar:

om install cisco di router TP-LINK?

Balas

Copyright © 2016. puzzpa - All Rights Reserved | Template Created by Kompi Ajaib Proudly powered by Blogger